all repos — archive/hugo-xmin @ 4888812fd8e4589f14f629f40136bae507471089

Customised minimal hugo theme

fix #10: urlize the terms

Yihui Xie
commit

4888812fd8e4589f14f629f40136bae507471089

parent

85309648e9fd427561ceca4d14ce5d17f5b2e393

1 file changed, 1 insertion(+), 1 deletion(-)

jump to
M layouts/_default/terms.htmllayouts/_default/terms.html
@@ -5,7 +5,7 @@
<ul class="terms"> {{ range $key, $value := .Data.Terms }} <li> - <a href="{{ (print "/" $.Data.Plural "/" $key) | relURL }}"> + <a href="{{ (print "/" $.Data.Plural "/" $key | urlize) | relURL }}"> {{ $key }} </a> ({{ len $value }})