aboutsummaryrefslogtreecommitdiffstats
path: root/notmyidea-cms/templates/article_infos.html
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 /notmyidea-cms/templates/article_infos.html
parent2e0d1cae62b36ebef459e7b3ad5c8c83a0255c7f (diff)
downloadpelican-themes-9c349d82c60d06563e1c1fc52600179f702cebc2.tar.gz
Use object.url to get the url for author, category and tags
Diffstat (limited to 'notmyidea-cms/templates/article_infos.html')
-rw-r--r--notmyidea-cms/templates/article_infos.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/notmyidea-cms/templates/article_infos.html b/notmyidea-cms/templates/article_infos.html
index e1803be..a1993a0 100644
--- a/notmyidea-cms/templates/article_infos.html
+++ b/notmyidea-cms/templates/article_infos.html
@@ -5,10 +5,10 @@
{% if article.author %}
<address class="vcard author">
- By <a class="url fn" href="{{ SITEURL }}/author/{{ article.author }}.html">{{ article.author }}</a>
+ By <a class="url fn" href="{{ SITEURL }}/{{ article.author.url }}">{{ article.author }}</a>
</address>
{% endif %}
-<p>In <a href="{{ SITEURL }}/category/{{ article.category }}.html">{{ article.category }}</a>. {% if PDF_PROCESSOR %}<a href="{{ SITEURL }}/pdf/{{ article.slug }}.pdf">get the pdf</a>{% endif %}</p>
+<p>In <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>. {% if PDF_PROCESSOR %}<a href="{{ SITEURL }}/pdf/{{ article.slug }}.pdf">get the pdf</a>{% endif %}</p>
{% include 'taglist.html' %}
{% include 'translations.html' %}
</footer><!-- /.post-info -->