From f49b1351160e2a309f57bca1e429077b1949a8ec Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Wed, 8 May 2013 19:50:04 +0200 Subject: Use uniform template for index category and tag page --- theme/templates/category.html | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'theme/templates/category.html') 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 @@

Articles dans la catégorie « {{ category }} »

{% if articles %} {% for article in (articles_page.object_list if articles_page else articles) %} -
-

{{ article.title }}

- - -
- {{ article.summary }} -
+ {% import 'abstract.html' as abstract with context %} + {{ abstract.abstract(article, "h2") }} {% if not loop.last %}
{% endif %} -
-
{% endfor %} {% endif %} {% include 'navigator.html' %} -- cgit v1.2.3