{% extends "base.html" %}

{% block content %}
<h1 class="section-title">
    {{ section.title }}
</h1>
<ul class="articles">
    {% for page in section.pages %}
    <li>
        <h2 class="title">
                <a href="{{ page.permalink | safe }}">{{ page.title }}</a>
        </h2>
        <span class="date">
            <meta itemprop="datePublished" content="{{ page.date | date(format='%+') }}">
            {{ page.date | date(format='%d %B %Y') }}
        </span>
        </p class="description">
            <span>{{ page.summary | safe }}</span>
            <span><a class="read-more" href="{{ page.permalink | safe }}">Lire la suite...</a></span>
        </p>
    </li>
    {% endfor %}
</ul>
{% endblock content %}