From c437d29e47c90dcbfa308291470c63f49b06b47c Mon Sep 17 00:00:00 2001 From: "mb@mb" Date: Fri, 4 May 2018 15:28:10 +0200 Subject: [PATCH] laatste structuur aanpassingen --- theme/wttf/templates/article.html | 60 +++++++++++++------------------ theme/wttf/templates/base.html | 40 ++++++++++----------- theme/wttf/templates/index.html | 9 ----- 3 files changed, 44 insertions(+), 65 deletions(-) diff --git a/theme/wttf/templates/article.html b/theme/wttf/templates/article.html index fb01b33..ae46be5 100644 --- a/theme/wttf/templates/article.html +++ b/theme/wttf/templates/article.html @@ -1,44 +1,32 @@ {% extends "base.html" %} {% block head %} - {{ super() }} - {% if article.description %} - - {% endif %} - - {% for tag in article.tags %} - - {% endfor %} - + {{ super() }} + {% if article.description %} + + {% endif %} {% endblock %} {% block content %}
-
-

- {{ article.title }}

- {% import 'translations.html' as translations with context %} - {{ translations.translations_for(article) }} -
-
- - {% if article.modified %} - - {% endif %} - {% if article.authors %} -
- By {% for author in article.authors %} - {{ author }} - {% endfor %} -
- {% endif %} -
-
- {{ article.content }} -
+

+ {{ article.title }} +

+
+ A + + about + + published on + +
+
{{ article.content }}
{% endblock %} diff --git a/theme/wttf/templates/base.html b/theme/wttf/templates/base.html index 67b6459..6770124 100644 --- a/theme/wttf/templates/base.html +++ b/theme/wttf/templates/base.html @@ -34,25 +34,25 @@ - - {% block content %} - {% endblock %} - + + {% block content %} + {% endblock %} + diff --git a/theme/wttf/templates/index.html b/theme/wttf/templates/index.html index e48c547..73202d2 100644 --- a/theme/wttf/templates/index.html +++ b/theme/wttf/templates/index.html @@ -74,15 +74,6 @@ {% endif %} - {% if loop.last %} - {% if loop.length > 1 or articles_page.has_other_pages() %} - - {% if articles_page.has_other_pages() %} - {% include 'pagination.html' %} - {% endif %} - - {% endif %} - {% endif %} {% endfor %} {% endif %} {% endblock content %}