index.html.twig 996 B

1234567891011121314151617181920212223242526272829303132
  1. {% extends 'partials/base.html.twig' %}
  2. {% block content %}
  3. <div class="content" id="index-content" data-barba="container" data-barba-namespace="index">
  4. <div id="main-p-index">
  5. {{ page.content|raw }}
  6. </div>
  7. <div id="extrait-projets">
  8. {% include 'partials/extrait-projets.html.twig' %}
  9. </div>
  10. <div id="second-p-index" class="container">
  11. {% set home = { items: {'@page.self': '/home/texte-intro-partie-2'} } %}
  12. {% for item in page.collection(home) %}
  13. {{item.content}}
  14. {% endfor %}
  15. </div>
  16. <div id="commanditaires-grid" class="container">
  17. {% for p in page.find('/home/commanditaires').children.order('date','desc') %}
  18. {{p.media.images|first}}
  19. {% endfor %}
  20. </div>
  21. <div id="arrow-container">
  22. <div class="picto" id="arrowIndex" data-src="{{ url('theme://images/pictos/arrow-down.svg') }}" aria-hidden="true"></div>
  23. </div>
  24. </div>
  25. {% endblock %}