about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorYihui Xie2017-07-26 12:44:40 -0500
committerYihui Xie2017-07-26 12:48:46 -0500
commit4888812fd8e4589f14f629f40136bae507471089 (patch)
treeb4c9e7c9af26470c1d5a69d2121ec5598c9ddab9
parent85309648e9fd427561ceca4d14ce5d17f5b2e393 (diff)
downloadhugo-xmin-4888812fd8e4589f14f629f40136bae507471089.tar.lz
hugo-xmin-4888812fd8e4589f14f629f40136bae507471089.tar.zst
hugo-xmin-4888812fd8e4589f14f629f40136bae507471089.zip
fix #10: urlize the terms
-rw-r--r--layouts/_default/terms.html2
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 }})