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 /mnmlist/templates/categories.html | |
parent | 2e0d1cae62b36ebef459e7b3ad5c8c83a0255c7f (diff) | |
download | pelican-themes-9c349d82c60d06563e1c1fc52600179f702cebc2.tar.gz |
Use object.url to get the url for author, category and tags
Diffstat (limited to 'mnmlist/templates/categories.html')
-rw-r--r-- | mnmlist/templates/categories.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mnmlist/templates/categories.html b/mnmlist/templates/categories.html index 78362e4..e29be0c 100644 --- a/mnmlist/templates/categories.html +++ b/mnmlist/templates/categories.html @@ -2,7 +2,7 @@ {% block content %} <ul> {% for category, articles in categories %} - <li><a href="{{ SITEURL }}/category/{{ category }}.html">{{ category }}</a></li> + <li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a></li> {% endfor %} </ul> {% endblock %} |