From c1f9a31f0c8d6a75e8ab902720f0c4c4830ba6fc Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Thu, 9 May 2013 14:40:47 +0200 Subject: Updated theme --- theme/templates/index.html | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'theme/templates/index.html') diff --git a/theme/templates/index.html b/theme/templates/index.html index a54ae31..e35bb04 100755 --- a/theme/templates/index.html +++ b/theme/templates/index.html @@ -2,19 +2,11 @@ {% block title %}{{ SITENAME }} - Accueil{% endblock %} {% block content %} - {% if articles %} - {% for article in (articles_page.object_list if articles_page else articles) %} + {% if articles %} {% import 'abstract.html' as abstract with context %} - {{ abstract.abstract(article, "h1") }} - - {% if not loop.last %} -
- {% endif %} - - {% endfor %} - - {% include 'navigator.html' %} + {{ abstract.abstract("h1") }} + {% endif %} {% if FEED_RSS %} @@ -24,5 +16,4 @@ {% endif %} - {% endif %} {% endblock %} -- cgit v1.2.3