{% extends 'partials/base.html.twig' %}

{% set bodyclass = "home" %}

{% block content %}
  <div class="grid">
    {% for child in page.collection %}
      {% if child.header.home == true %}
        <section class="projet-block projet-block-img grid-block columns xlarge-3 large-4 medium-6 small-12">
          {% include 'partials/projet-block.html.twig' with {'page':child,'display':'img'} %}
        </section>
      {% endif %}
    {% endfor %}
  </div>
{% endblock %}
