From 6a157f1a26731ae14d6865793149abdee5d6364a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Mummert?= Date: Wed, 1 Apr 2026 13:43:09 +0200 Subject: [PATCH] feat: render text entries before image --- contao/templates/frontend/pinnwand.html.twig | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/contao/templates/frontend/pinnwand.html.twig b/contao/templates/frontend/pinnwand.html.twig index 6c61f53..13ec830 100644 --- a/contao/templates/frontend/pinnwand.html.twig +++ b/contao/templates/frontend/pinnwand.html.twig @@ -14,12 +14,6 @@ aria-label="{{ entry.headline }}" >
- {% if entry.imageFigure %} -
- {% with {figure: entry.imageFigure} %}{{ block('figure_component') }}{% endwith %} -
- {% endif %} - {% if entry.headline %}

{{ entry.headline }}

{% endif %} @@ -28,6 +22,12 @@
{{ entry.text|e|nl2br }}
{% endif %} + {% if entry.imageFigure %} +
+ {% with {figure: entry.imageFigure} %}{{ block('figure_component') }}{% endwith %} +
+ {% endif %} + {% if entry.link %}