changed order of article elements
This commit is contained in:
parent
7a0fbbc07e
commit
5b8201b22f
@ -16,18 +16,7 @@
|
|||||||
{% block content_body %}
|
{% block content_body %}
|
||||||
<article id="article-body">
|
<article id="article-body">
|
||||||
<div class="body-column-text">
|
<div class="body-column-text">
|
||||||
{% if article.content | length is not eq(0) %}{{ article.content | safe }}{% endif %}
|
{% if article.content | length is not eq(0) %}{{ article.content }}{% 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.stats %}
|
{% if article.stats %}
|
||||||
<div>
|
<div>
|
||||||
<h2>Details</h2>
|
<h2>Details</h2>
|
||||||
@ -50,6 +39,17 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% 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>
|
</article>
|
||||||
<footer class="article-footer">
|
<footer class="article-footer">
|
||||||
<a href="/{{ article.save_as.split('/')[:-1] | join('/') }}/">← {{ article.category }}</a>
|
<a href="/{{ article.save_as.split('/')[:-1] | join('/') }}/">← {{ article.category }}</a>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user