mirror of
https://github.com/yihui/hugo-xmin.git
synced 2024-11-22 08:29:19 +02:00
fix #10: urlize the terms
This commit is contained in:
parent
85309648e9
commit
4888812fd8
|
@ -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 }})
|
||||||
|
|
Loading…
Reference in New Issue