diff options
author | Yihui Xie <xie@yihui.name> | 2017-07-26 20:44:40 +0300 |
---|---|---|
committer | Yihui Xie <xie@yihui.name> | 2017-07-26 20:48:46 +0300 |
commit | 4888812fd8e4589f14f629f40136bae507471089 (patch) | |
tree | b4c9e7c9af26470c1d5a69d2121ec5598c9ddab9 | |
parent | 85309648e9fd427561ceca4d14ce5d17f5b2e393 (diff) |
fix #10: urlize the 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 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 }}) |