diff --git a/themes/varia/templates/article.html b/themes/varia/templates/article.html index 3eaf40e6..f8a61fc2 100644 --- a/themes/varia/templates/article.html +++ b/themes/varia/templates/article.html @@ -30,9 +30,16 @@
{% if article.event_start %} diff --git a/themes/varia/templates/index.html b/themes/varia/templates/index.html index e49565c0..65b0e7a0 100644 --- a/themes/varia/templates/index.html +++ b/themes/varia/templates/index.html @@ -5,75 +5,82 @@ {% for p in pages %} {% if p.title == 'header' %}
- {{ p.content }} -
+ {{ p.content }} +
{% endif %} {% endfor %} {% block content_title %} {% endblock %} {% if articles_page.has_other_pages() %} - {% include 'pagination.html' %} + {% include 'pagination.html' %} {% endif %}
{% for article in articles_page.object_list %} - {% if article.category %} + {% if article.category %} {% if article.event_start %} {% set event_status = '' %} + {% set thumb_size = '/thumb' %} {% if article.event_start < article.date.now() %} {% set event_status = ' past' %} {% endif %} {% if article.event_start >= article.date.now() %} {% set event_status = ' current' %} + {% set thumb_size = '/thumb2x' %} {% endif %} {% endif %} -
- {% endif %} - + +
{{ article.summary }} + + {% if DEFAULT_LANG == 'en' %} + read more + {% elif DEFAULT_LANG == 'nl' %} + lees meer + {% endif %} + +
+

+ +
{% endfor %}