feat(presse): met le bouton lire article avant l’image article

main
Jalil Arfaoui 2023-09-21 18:12:10 +02:00
parent 68a765e121
commit 1cac7fa33b
1 changed files with 4 additions and 4 deletions

View File

@ -14,6 +14,10 @@ layout: layouts/base.njk
<p>{{ content | safe }}</p>
{% if link %}
<a href="{{ link }}" class="centered-button" target="_blank">L'article</a>
{% endif %}
{% if articleImage and not skipImage %}
<img alt="{{ title }}" class="mx-auto mt-8 px-16" src="{{ articleImage }}" />
{% endif %}
@ -21,7 +25,3 @@ layout: layouts/base.njk
{% if iframe %}
{{ iframe | safe }}
{% endif %}
{% if link %}
<a href="{{ link }}" class="centered-button" target="_blank">L'article</a>
{% endif %}