aboutsummaryrefslogtreecommitdiff
path: root/theme/templates/category.html
diff options
context:
space:
mode:
Diffstat (limited to 'theme/templates/category.html')
-rwxr-xr-xtheme/templates/category.html11
1 files changed, 2 insertions, 9 deletions
diff --git a/theme/templates/category.html b/theme/templates/category.html
index a541a1c..f3588eb 100755
--- a/theme/templates/category.html
+++ b/theme/templates/category.html
@@ -5,18 +5,11 @@
<h1 class="page_title">Articles dans la catégorie «&thinsp;{{ category }}&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>
-
- <section class="post_content">
- {{ article.summary }}
- <div class="clear" />
+ {% import 'abstract.html' as abstract with context %}
+ {{ abstract.abstract(article, "h2") }}
{% if not loop.last %}
<hr>
{% endif %}
- </section>
- </article>
{% endfor %}
{% endif %}
{% include 'navigator.html' %}