{% extends "base.html" %}

{% block content %}
<h2>Dernières publications</h2>
<ul class="post-list">

{% if articles %}
    {% for article in dates[:10] %}
        <li>
            <a href="/{{ article.url }}">{{ article.title }}</a>
            <time>{{ article.locale_date }}</time>
        </li>
    {% endfor %}
{% endif %}

</ul>
<p>&rarr; <a href="{{ SITEURL }}/{{ ARCHIVES_URL }}">Parcourir les {{ articles|length }} notes</a></p>
{% endblock content %}
