home.html.twig 474 B

123456789101112131415
  1. {% extends 'partials/base.html.twig' %}
  2. {% set bodyclass = "home" %}
  3. {% block content %}
  4. <div class="grid">
  5. {% for child in page.collection %}
  6. {% if child.header.home == true %}
  7. <section class="projet-block projet-block-img grid-block columns xlarge-3 large-4 medium-6 small-12">
  8. {% include 'partials/projet-block.html.twig' with {'page':child,'display':'img'} %}
  9. </section>
  10. {% endif %}
  11. {% endfor %}
  12. </div>
  13. {% endblock %}