aboutsummaryrefslogtreecommitdiff
path: root/theme/templates/tag.html
diff options
context:
space:
mode:
Diffstat (limited to 'theme/templates/tag.html')
-rwxr-xr-xtheme/templates/tag.html15
1 files changed, 5 insertions, 10 deletions
diff --git a/theme/templates/tag.html b/theme/templates/tag.html
index 059442a..101a22d 100755
--- a/theme/templates/tag.html
+++ b/theme/templates/tag.html
@@ -5,18 +5,13 @@
<h1 class="page_title">Articles avec le mot-clef «&thinsp;{{ tag }}&thinsp;»</h1>
{% 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>
+ {% import 'abstract.html' as abstract with context %}
+ {{ abstract.abstract(article, "h2") }}
- <section class="post_content">
- {{ article.summary }}
- <div class="clear" />
- {% if not loop.last %}
+ {% if not loop.last %}
<hr>
- {% endif %}
- </section>
- </article>
+ {% endif %}
+
{% endfor %}
{% endif %}
{% include 'navigator.html' %}