{% extends 'partials/base.html.twig' %}
{% set collection = page.collection() %}
{% set image = page.media.images|first %}

{% block body %}
    <section id="item" class="section blog-listing">
      <div class="bandeau">
        {% if image %}
          {{image.html}}
        {% endif %}
      </div>

      <div class="content">
        <h2>{{page.title}}</h2>
        {{content}}
      </div>

      {% block sidebar %}
        {% include 'partials/sidebar.html.twig' %}
      {% endblock %}
    </section>

{% endblock %}
