feat: améliore la présentation des articles de presse
parent
0857ca01e9
commit
acf00f43a6
|
@ -9,7 +9,12 @@ layout: layouts/html.njk
|
|||
{% include "header.njk" %}
|
||||
|
||||
<main>
|
||||
<h1>{{ title }}</h1>
|
||||
<h1>
|
||||
{% if media %}
|
||||
<img alt="{{ media | mediaName }}" src="{{ media | mediaLogo }}" class="inline max-w-md max-h-12" />
|
||||
{% endif %}
|
||||
{{ title }}
|
||||
</h1>
|
||||
|
||||
{{ content | safe }}
|
||||
|
||||
|
|
|
@ -6,14 +6,15 @@ layout: layouts/base.njk
|
|||
<strong><time datetime="{{ page.date | htmlDateString }}">{{ page.date | readableDate }}</time></strong>
|
||||
{% endif %}
|
||||
|
||||
<p>{{ content | safe }}</p>
|
||||
|
||||
|
||||
{% for quote in quotes %}
|
||||
<blockquote>
|
||||
<blockquote class="max-w-2xl mx-auto">
|
||||
« {{ quote | toHTML | safe }} »
|
||||
</blockquote>
|
||||
{% endfor %}
|
||||
|
||||
<p>{{ content | safe }}</p>
|
||||
|
||||
{% if articleImage %}
|
||||
<img alt="{{ title }}" class="mx-auto mt-8 px-16" src="{{ articleImage }}" />
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue