programmes.html.twig 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. <div class="programmes{{ page.header.class}}">
  2. <div class="background paralax">
  3. <img id="photo1" src="/user/themes/epau-antimatter/images/14360_default_big.jpg" alt="photo 1" />
  4. <img id="photo2" src="/user/themes/epau-antimatter/images/10361_web_01.jpg" alt="photo 2" />
  5. <img id="photo3" src="/user/themes/epau-antimatter/images/hyperliens_marseille_.PNG" alt="photo 3" />
  6. <img id="photo4" src="/user/themes/epau-antimatter/images/jeux-olypiques-paris-2024-village-athle-lot-e2.jpg" alt="photo 4" />
  7. </div>
  8. {{ content|raw }}
  9. {% for programme in page.header.programmes %}
  10. <div class="programme">
  11. <a href="{{programme.site}}" target="_blank">
  12. {% if programme.logo %}
  13. <img src="{{page.media[programme.logo].url|e }}" alt="logo du programme {{programme.nom_du_programme}}" />
  14. {% endif %}
  15. {% if programme.nom_du_programme %}
  16. <h4>{{ programme.nom_du_programme }}</h4>
  17. {% endif %}
  18. {% if programme.texte_de_presentation %}
  19. <p>{{ programme.texte_de_presentation|markdown }}</p>
  20. {% endif %}
  21. </a>
  22. </div>
  23. {% endfor %}
  24. </div>