{% extends 'partials/base.html.twig' %}
{% set collection = page.collection() %}

{% block header %}
  <header>
    <h1>
      <a href="/">{{site.title}}</a>
    </h1>
  </header>
{% endblock %}

{% block body %}
    <section class="body-wrapper" id="item_list">
      <div id="icone_list">
        <button class="hamburger hamburger--slider is-active" type="button">
          <span class="hamburger-box">
            <span class="hamburger-inner"></span>
          </span>
        </button>
      </div>

      {% block item %}
          {% for child in collection %}
              {% include 'partials/blog-list-item.html.twig' with {blog: page, page: child} %}
          {% endfor %}
      {% endblock %}
    </section>

    {% block aside %}
      {% include 'partials/sidebar.html.twig' %}
    {% endblock %}

{% endblock %}
