This commit is contained in:
2021-03-26 16:14:56 +01:00
parent 7ea7075d99
commit 91bca86430
13 changed files with 85 additions and 46 deletions
@@ -1,24 +1,21 @@
<div class="modular-row programmes{{ page.header.class}}">
<div class="programmes{{ page.header.class}}">
{{ content|raw }}
<div class="">
{% for programme in page.header.programmes %}
<div class="">
<div class="">
<div class="programme">
{% if programme.logo %}
<img src="{{page.media[programme.logo].url|e }}" alt="logo du programme {{programme.nom_du_programme}}" />
{% endif %}
{% if programme.nom_du_programme %}
<h4>{{ programme.nom_du_programme }}</h4>
{% endif %}
{% if programme.texte_de_presentation %}
<p>{{ programme.texte_de_presentation|markdown }}</p>
{% endif %}
{% if programme.logo %}
<img src="{{page.media[programme.logo].url|e }}" alt="logo du programme {{programme.nom_du_programme}}" />
{% endif %}
</div>
</div>
{% endfor %}
</div>
</div>