diff options
author | Yihui Xie | 2017-06-19 14:19:12 -0500 |
---|---|---|
committer | Yihui Xie | 2017-06-19 14:19:12 -0500 |
commit | 4bb3052d17101512ca1f5c621d7aca66fd9638d1 (patch) | |
tree | b136d5151f12f5d62e98e799179cfcac81393c36 | |
parent | 307a0a9153e55e86954f4e7b8726cc92c172e19e (diff) | |
download | hugo-xmin-4bb3052d17101512ca1f5c621d7aca66fd9638d1.tar.lz hugo-xmin-4bb3052d17101512ca1f5c621d7aca66fd9638d1.tar.zst hugo-xmin-4bb3052d17101512ca1f5c621d7aca66fd9638d1.zip |
I guess it is unnecessary (perhaps even wrong) to urlize terms
-rw-r--r-- | layouts/_default/terms.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html index 47a9c0a..b21e866 100644 --- 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 }}) |