diff options
author | Sébastien Dailly <sebastien@chimrod.com> | 2013-05-09 14:40:47 +0200 |
---|---|---|
committer | Sébastien Dailly <sebastien@chimrod.com> | 2013-05-09 14:41:31 +0200 |
commit | c1f9a31f0c8d6a75e8ab902720f0c4c4830ba6fc (patch) | |
tree | 3b102fb68ddcbef8c93fb2fad4c9a16f7d541247 /theme/templates/index.html | |
parent | 302756ec2b2712faf049ea7de5f094c09816d2c9 (diff) |
Updated theme
Diffstat (limited to 'theme/templates/index.html')
-rwxr-xr-x | theme/templates/index.html | 15 |
1 files changed, 3 insertions, 12 deletions
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 %} - <hr> - {% endif %} - - {% endfor %} - - {% include 'navigator.html' %} + {{ abstract.abstract("h1") }} + {% endif %} {% if FEED_RSS %} <a href="{{ FEED_DOMAIN }}/{{ FEED_RSS }}" ><img src="../theme/images/rss.png" /></a> @@ -24,5 +16,4 @@ <a href="{{ FEED_DOMAIN }}/{{ FEED_ATOM }}" ><img src="../theme/images/atom.png" /></a> {% endif %} - {% endif %} {% endblock %} |