aboutsummaryrefslogtreecommitdiffstats
path: root/gum
diff options
context:
space:
mode:
authorChris Howie <me@chrishowie.com>2013-07-15 20:56:12 +0000
committerChris Howie <me@chrishowie.com>2013-07-15 20:56:12 +0000
commit3a2d7adcd4b75244c63040189fb123b8f5c97013 (patch)
tree4c794032df07f9778695876c1bf77177e82b17b5 /gum
parent68d249c543fd0cd456a3da113f23f9d0e7fc35b9 (diff)
downloadpelican-themes-3a2d7adcd4b75244c63040189fb123b8f5c97013.zip
pelican-themes-3a2d7adcd4b75244c63040189fb123b8f5c97013.tar.gz
pelican-themes-3a2d7adcd4b75244c63040189fb123b8f5c97013.tar.bz2
Gum: Fix tag URLs not being slugified (and therefore broken)
Diffstat (limited to 'gum')
-rw-r--r--gum/templates/sidebar.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/gum/templates/sidebar.html b/gum/templates/sidebar.html
index 43ed62a..b0cd52b 100644
--- a/gum/templates/sidebar.html
+++ b/gum/templates/sidebar.html
@@ -33,7 +33,7 @@
{% if tags %}
<ul>
{% for tag in tag_cloud %}
- <li class="tag-{{ tag.1 }}"><a href="{{ SITEURL }}/tag/{{ tag.0|string|replace(" ", "-" )|lower }}.html">{{ tag.0 }}</a></li>
+ <li class="tag-{{ tag.1 }}"><a href="{{ SITEURL }}/{{ tag.0.url }}">{{ tag.0 }}</a></li>
{% endfor %}
</ul>
{% endif %}
@@ -50,4 +50,4 @@
</nav>
{% endif %}
-</div> \ No newline at end of file
+</div>