From acf00f43a6d10b7f46ab7d5e26a1a3f308fd7778 Mon Sep 17 00:00:00 2001 From: Jalil Arfaoui Date: Tue, 6 Sep 2022 17:39:15 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20am=C3=A9liore=20la=20pr=C3=A9sentation?= =?UTF-8?q?=20des=20articles=20de=20presse?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/_includes/layouts/base.njk | 7 ++++++- src/_includes/layouts/presse.njk | 7 ++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/_includes/layouts/base.njk b/src/_includes/layouts/base.njk index d2f972e..48db92e 100644 --- a/src/_includes/layouts/base.njk +++ b/src/_includes/layouts/base.njk @@ -9,7 +9,12 @@ layout: layouts/html.njk {% include "header.njk" %}
-

{{ title }}

+

+ {% if media %} + {{ media | mediaName }} + {% endif %} + {{ title }} +

{{ content | safe }} diff --git a/src/_includes/layouts/presse.njk b/src/_includes/layouts/presse.njk index a23759b..191e5c0 100644 --- a/src/_includes/layouts/presse.njk +++ b/src/_includes/layouts/presse.njk @@ -6,14 +6,15 @@ layout: layouts/base.njk {% endif %} +

{{ content | safe }}

+ + {% for quote in quotes %} -
+
« {{ quote | toHTML | safe }} »
{% endfor %} -

{{ content | safe }}

- {% if articleImage %} {{ title }} {% endif %}