all repos — archive/hugo-xmin @ 4bb3052d17101512ca1f5c621d7aca66fd9638d1

Customised minimal hugo theme

I guess it is unnecessary (perhaps even wrong) to urlize terms

Yihui Xie
commit

4bb3052d17101512ca1f5c621d7aca66fd9638d1

parent

307a0a9153e55e86954f4e7b8726cc92c172e19e

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 | urlize)) | relURL }}"> + <a href="{{ (print "/" $.Data.Plural "/" $key) | relURL }}"> {{ $key }} </a> ({{ len $value }})