From 5b8201b22f9d91a8516fc8c746b8b24377012747 Mon Sep 17 00:00:00 2001 From: eclipse Date: Fri, 7 Mar 2025 12:34:41 +0100 Subject: [PATCH] changed order of article elements --- theme/templates/article.html | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/theme/templates/article.html b/theme/templates/article.html index 3c6c52e..b61c7b1 100644 --- a/theme/templates/article.html +++ b/theme/templates/article.html @@ -16,18 +16,7 @@ {% block content_body %}
- {% if article.content | length is not eq(0) %}{{ article.content | safe }}{% endif %} - {% if article.klappentext %} -

Klappentext

-
{{ article.klappentext }}
- {% endif %} -
-
- {% if article.featured_image is defined %} - {% from 'includes/macros.html' import fi %} - {% set i = article.featured_image[0] %} - {{ fi(i.pic, i.link, i.text, i.title, i.credit, i.credit_link) }} - {% endif %} + {% if article.content | length is not eq(0) %}{{ article.content }}{% endif %} {% if article.stats %}

Details

@@ -50,6 +39,17 @@
{% endif %} +
+
+ {% if article.featured_image is defined %} + {% from 'includes/macros.html' import fi %} + {% set i = article.featured_image[0] %} + {{ fi(i.pic, i.link, i.text, i.title, i.credit, i.credit_link) }} + {% endif %} + {% if article.klappentext %} +

Klappentext

+
{{ article.klappentext }}
+ {% endif %}