diff options
author | Justin Mayer <entroP@gmail.com> | 2013-07-17 17:35:57 -0700 |
---|---|---|
committer | Justin Mayer <entroP@gmail.com> | 2013-07-17 17:35:57 -0700 |
commit | 08364df4285e416e053562d418d11270201c87d7 (patch) | |
tree | 4c794032df07f9778695876c1bf77177e82b17b5 | |
parent | 68d249c543fd0cd456a3da113f23f9d0e7fc35b9 (diff) | |
parent | 3a2d7adcd4b75244c63040189fb123b8f5c97013 (diff) | |
download | pelican-themes-08364df4285e416e053562d418d11270201c87d7.tar.gz |
Merge pull request #118 from cdhowie/master
Gum: Fix tag URLs not being slugified
-rw-r--r-- | gum/templates/sidebar.html | 4 |
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> |