diff options
author | Chimrod <contact+git@chimrod.com> | 2013-04-16 21:27:30 +0200 |
---|---|---|
committer | Chimrod <contact+git@chimrod.com> | 2013-04-16 21:27:30 +0200 |
commit | 66a5a0cdccd464930a232c87f91e1b0805f255a5 (patch) | |
tree | 1563108cc22cfdc250108eb25b3beaf51d398dff /theme/templates/tag.html |
initial commit
Diffstat (limited to 'theme/templates/tag.html')
-rwxr-xr-x | theme/templates/tag.html | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/theme/templates/tag.html b/theme/templates/tag.html new file mode 100755 index 0000000..49ed222 --- /dev/null +++ b/theme/templates/tag.html @@ -0,0 +1,31 @@ +{% extends "base.html" %} +{% block title %}{{ SITENAME }} - «{{ tag }}»{% endblock %} + +{% block content %} + <h2 class="page_title">Articles avec le mot-clé «{{ tag }}»</h2> + {% if articles %} + {% for article in (articles_page.object_list if articles_page else articles) %} + <article class="post"> + <h2 class="title"><a href="{{ SITEURL }}/{{ article.url}}">{{ article.title }}</a></h2> +<time class="meta" datetime="{{ article.date.isoformat() }}" pubdate="pubdate">{{ article.locale_date }}</time> + + <section class="post_content"> + {{ article.summary }} + {% if not loop.last %} + <hr> + {% endif %} + </section> + </article> + {% endfor %} + {% endif %} + {% include 'navigator.html' %} + + {% if TAG_FEED_RSS %} + <a href="{{ FEED_DOMAIN }}/{{ TAG_FEED_RSS % tag|e}}" ><img src="../theme/images/rss.png" /></a> + {% endif %} + + {% if TAG_FEED_ATOM %} + <a href="{{ FEED_DOMAIN }}/{{ TAG_FEED_ATOM % tag|e}}" ><img src="../theme/images/atom.png" /></a> + {% endif %} + + {% endblock %} |