aboutsummaryrefslogtreecommitdiff
path: root/theme/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'theme/templates/index.html')
-rwxr-xr-xtheme/templates/index.html15
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 %}