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 %}