changed order of article elements

This commit is contained in:
eclipse 2025-03-07 12:34:41 +01:00
parent 7a0fbbc07e
commit 5b8201b22f

View File

@ -16,18 +16,7 @@
{% block content_body %}
<article id="article-body">
<div class="body-column-text">
{% if article.content | length is not eq(0) %}{{ article.content | safe }}{% endif %}
{% if article.klappentext %}
<h2>Klappentext</h2>
<blockquote>{{ article.klappentext }}</blockquote>
{% endif %}
</div>
<div class="body-column-img">
{% 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 %}
<div>
<h2>Details</h2>
@ -50,6 +39,17 @@
</ul>
</div>
{% endif %}
</div>
<div class="body-column-img">
{% 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 %}
<h2>Klappentext</h2>
<blockquote>{{ article.klappentext }}</blockquote>
{% endif %}
</article>
<footer class="article-footer">
<a href="/{{ article.save_as.split('/')[:-1] | join('/') }}/">&larr; {{ article.category }}</a>