diff options
author | Alexis Metaireau <alexis@notmyidea.org> | 2012-05-14 11:26:29 -0700 |
---|---|---|
committer | Alexis Metaireau <alexis@notmyidea.org> | 2012-05-14 11:26:29 -0700 |
commit | 858eb07eb94d36614d05697722c5055da6abd120 (patch) | |
tree | 311ea3ead0833a85fbbc7463739a26bec7443934 /brownstone/templates/article.html | |
parent | 2e0d1cae62b36ebef459e7b3ad5c8c83a0255c7f (diff) | |
parent | 9c349d82c60d06563e1c1fc52600179f702cebc2 (diff) | |
download | pelican-themes-858eb07eb94d36614d05697722c5055da6abd120.tar.gz |
Merge pull request #28 from kylef/url
Use object.url to get the url for author, category and tags
Diffstat (limited to 'brownstone/templates/article.html')
-rw-r--r-- | brownstone/templates/article.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/brownstone/templates/article.html b/brownstone/templates/article.html index 2458ecb..dd07404 100644 --- a/brownstone/templates/article.html +++ b/brownstone/templates/article.html @@ -4,9 +4,9 @@ <div id="content"> <div class="post"> <h2 class="title"><a href="{{ article.url }}">{{ article.title }}</a></h2> - <p class="meta"><span class="date">Le {{ article.locale_date }} </span><span class="posted">Par <a href="#">{{ article.author }}</a></span><span> | Catégorie : <a href="{{ SITEURL }}/category/{{ article.category }}.html">{{ article.category }}</a></span></p> + <p class="meta"><span class="date">Le {{ article.locale_date }} </span><span class="posted">Par <a href="#">{{ article.author }}</a></span><span> | Catégorie : <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a></span></p> <p class="meta">Tags : {% for tag in article.tags %} -<span><a href="{{ SITEURL }}/tag/{{ tag }}.html">{{ tag }}</a> / </span> +<span><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a> / </span> {% endfor %}</p> <div style="clear: both;"> </div> <div class="entry"> |