fix #10: urlize the terms

This commit is contained in:
Yihui Xie 2017-07-26 12:44:40 -05:00
parent 85309648e9
commit 4888812fd8
1 changed files with 1 additions and 1 deletions

View File

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