diff options
author | Yihui Xie | 2017-07-26 12:44:40 -0500 |
---|---|---|
committer | Yihui Xie | 2017-07-26 12:48:46 -0500 |
commit | 4888812fd8e4589f14f629f40136bae507471089 (patch) | |
tree | b4c9e7c9af26470c1d5a69d2121ec5598c9ddab9 /layouts/_default | |
parent | 85309648e9fd427561ceca4d14ce5d17f5b2e393 (diff) | |
download | hugo-xmin-4888812fd8e4589f14f629f40136bae507471089.tar.lz hugo-xmin-4888812fd8e4589f14f629f40136bae507471089.tar.zst hugo-xmin-4888812fd8e4589f14f629f40136bae507471089.zip |
fix #10: urlize the terms
Diffstat (limited to 'layouts/_default')
-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 b21e866..09b3785 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) | relURL }}"> + <a href="{{ (print "/" $.Data.Plural "/" $key | urlize) | relURL }}"> {{ $key }} </a> ({{ len $value }}) |