aboutsummaryrefslogtreecommitdiffstats
path: root/martyalchin
diff options
context:
space:
mode:
authorKyle Fuller <inbox@kylefuller.co.uk>2012-05-14 18:17:00 +0100
committerKyle Fuller <inbox@kylefuller.co.uk>2012-05-14 18:28:45 +0100
commit9c349d82c60d06563e1c1fc52600179f702cebc2 (patch)
tree311ea3ead0833a85fbbc7463739a26bec7443934 /martyalchin
parent2e0d1cae62b36ebef459e7b3ad5c8c83a0255c7f (diff)
downloadpelican-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 'martyalchin')
-rw-r--r--martyalchin/templates/article.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/martyalchin/templates/article.html b/martyalchin/templates/article.html
index f5c6591..b6ec1c0 100644
--- a/martyalchin/templates/article.html
+++ b/martyalchin/templates/article.html
@@ -7,7 +7,7 @@
By <a class="url fn" href="#">{{ article.author }}</a>
{% endif %}
on <a>{{ article.date.locale_date }}</a>
- about <a href="{{ SITEURL }}/category/{{ article.category }}.html">{{ article.category }}</a>
+ about <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>
</div>
{{ article.content }}
{% endblock %}