{% 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">
      {% 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 %}
