diff options
author | Kyle Fuller <inbox@kylefuller.co.uk> | 2012-05-14 18:17:00 +0100 |
---|---|---|
committer | Kyle Fuller <inbox@kylefuller.co.uk> | 2012-05-14 18:28:45 +0100 |
commit | 9c349d82c60d06563e1c1fc52600179f702cebc2 (patch) | |
tree | 311ea3ead0833a85fbbc7463739a26bec7443934 /Just-Read/templates/tags.html | |
parent | 2e0d1cae62b36ebef459e7b3ad5c8c83a0255c7f (diff) | |
download | pelican-themes-9c349d82c60d06563e1c1fc52600179f702cebc2.zip pelican-themes-9c349d82c60d06563e1c1fc52600179f702cebc2.tar.gz pelican-themes-9c349d82c60d06563e1c1fc52600179f702cebc2.tar.bz2 |
Use object.url to get the url for author, category and tags
Diffstat (limited to 'Just-Read/templates/tags.html')
-rw-r--r-- | Just-Read/templates/tags.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Just-Read/templates/tags.html b/Just-Read/templates/tags.html index 8ddbcd1..27240ef 100644 --- a/Just-Read/templates/tags.html +++ b/Just-Read/templates/tags.html @@ -8,10 +8,10 @@ <ul class="tag"> {% for tag in tag_cloud %} - <li class="tag-{{ tag.1 }}"><a href="{{ SITEURL }}/tag/{{ tag.0 }}.html">{{ tag.0 }}</a></li> + <li class="tag-{{ tag.1 }}"><a href="{{ SITEURL }}/{{ tag.0.url }}">{{ tag.0 }}</a></li> {% endfor %} </ul> </div> </div> -{% endblock %}
\ No newline at end of file +{% endblock %} |