mirror of
https://github.com/yihui/hugo-xmin.git
synced 2024-12-25 14:43:32 +02:00
fix #10: urlize the terms
This commit is contained in:
parent
85309648e9
commit
4888812fd8
1 changed files with 1 additions and 1 deletions
|
@ -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 }})
|
||||
|
|
Loading…
Reference in a new issue