From b7caba4e99effe0aa8f2fca74dc33a2f4495924a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 24 Mar 2019 23:42:23 +0100 Subject: Use lighter style consistent with documentation --- themes/lv2/templates/index.html | 55 +++++++++++++++++++---------------------- 1 file changed, 26 insertions(+), 29 deletions(-) (limited to 'themes/lv2/templates/index.html') diff --git a/themes/lv2/templates/index.html b/themes/lv2/templates/index.html index 0fad03c..4a2822a 100644 --- a/themes/lv2/templates/index.html +++ b/themes/lv2/templates/index.html @@ -1,35 +1,32 @@ {% extends "base.html" %} {% block content_title %}{% endblock %} -{% block content %} +{% block content %} {% if articles %} - {% for article in articles %} + {% for article in articles_page.object_list %} +
+ +

{{ article.title }}

+
+ +
{{ article.summary }}
+
+
+ {% endfor %} {# For article #} + {% endif %} - {# First item #} - {% if loop.first %} -
-

{{ article.title }}

- {{ SITENAME }} {% if SITESUBTITLE %} {{ SITESUBTITLE }}{% endif %} - {% if not HIDE_DATE %}{% endif %} -
+ {% include "pagination.html" %} -
- {{ article.content }} -
- {% if loop.length > 1 %} -
-

Tous les articles

-
    - {% endif %} - {# other items #} - {% else %} -
  1. {{ article.title }}
  2. - {% endif %} - {% endfor %} - {% if loop.length > 1 %} -
-
- {% endif %} - {% else %} - No articles. - {% endif %} {% endblock content %} -- cgit v1.2.1