feat(presse): met le bouton lire article avant l’image article
parent
68a765e121
commit
1cac7fa33b
|
@ -14,6 +14,10 @@ layout: layouts/base.njk
|
||||||
|
|
||||||
<p>{{ content | safe }}</p>
|
<p>{{ content | safe }}</p>
|
||||||
|
|
||||||
|
{% if link %}
|
||||||
|
<a href="{{ link }}" class="centered-button" target="_blank">L'article</a>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if articleImage and not skipImage %}
|
{% if articleImage and not skipImage %}
|
||||||
<img alt="{{ title }}" class="mx-auto mt-8 px-16" src="{{ articleImage }}" />
|
<img alt="{{ title }}" class="mx-auto mt-8 px-16" src="{{ articleImage }}" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -21,7 +25,3 @@ layout: layouts/base.njk
|
||||||
{% if iframe %}
|
{% if iframe %}
|
||||||
{{ iframe | safe }}
|
{{ iframe | safe }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if link %}
|
|
||||||
<a href="{{ link }}" class="centered-button" target="_blank">L'article</a>
|
|
||||||
{% endif %}
|
|
||||||
|
|
Loading…
Reference in New Issue