mirror of
https://github.com/yihui/hugo-xmin.git
synced 2024-11-22 16:39:19 +02:00
I guess it is unnecessary (perhaps even wrong) to urlize terms
This commit is contained in:
parent
307a0a9153
commit
4bb3052d17
|
@ -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 | urlize)) | relURL }}">
|
<a href="{{ (print "/" $.Data.Plural "/" $key) | relURL }}">
|
||||||
{{ $key }}
|
{{ $key }}
|
||||||
</a>
|
</a>
|
||||||
({{ len $value }})
|
({{ len $value }})
|
||||||
|
|
Loading…
Reference in New Issue