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

30 lines
923 B
Twig

<div class="modular-row programmes{{ page.header.class}}">
{{ content|raw }}
{{ dump(page.header) }}
<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 %}
{{ page.media[header.programmes.logo|first.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 %}
#}