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/index.html | 28 ++++++++-------------------- 1 file changed, 8 insertions(+), 20 deletions(-) (limited to 'theme/templates/index.html') diff --git a/theme/templates/index.html b/theme/templates/index.html index bf288a8..a54ae31 100755 --- a/theme/templates/index.html +++ b/theme/templates/index.html @@ -4,26 +4,14 @@ {% block content %} {% if articles %} {% for article in (articles_page.object_list if articles_page else articles) %} -
-

{{ article.title }}

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