commit 4bb3052d17101512ca1f5c621d7aca66fd9638d1
parent 307a0a9153e55e86954f4e7b8726cc92c172e19e
Author: Yihui Xie <xie@yihui.name>
Date: Mon, 19 Jun 2017 14:19:12 -0500
I guess it is unnecessary (perhaps even wrong) to urlize terms
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/layouts/_default/terms.html b/layouts/_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 }})