Files
dev-epau.archi.fr/user/themes/epau-antimatter/templates/modular/programmes.html.twig
T

32 lines
980 B
Twig

<div class="modular-row programmes{{ page.header.class}}">
{{ content|raw }}
<div class="feature-items">
{% for programme in page.header.programmes %}
<div class="feature">
<div class="feature-content">
{% if programme.nom_du_programme %}
<h4>{{ programme.nom_du_programme }}</h4>
{% endif %}
{% if programme.texte_de_presentation %}
<p>{{ programme.texte_de_presentation }}</p>
{% endif %}
{% if programme.logo %}
<img src="{{ page.media[header.programmes.logo] }}" alt="logo du programme {{programme.nom_du_programme}}" />
{{ dump(name) }}
{% endif %}
</div>
</div>
{% endfor %}
</div>
</div>
{# ça, ça marche mais maintenant faut créer un variable qui va chercher les images
{% if programme.logo %}
<img src="{{ page.media['popsu.png'].url|e }}" alt=“logo_programme” />
{% endif %}
#}