{% extends "base.html" %}
{% block content_title %}{{ SITENAME }} — Archives{% endblock %}
{%- block content %}
Archives
{% for article in articles %}
{% if loop.first or article.date.strftime('%Y %m') != articles[loop.index0-1].date.strftime('%Y %m') %}
-
{{ article.date.strftime('%B %Y') }}
{% endif %}
-
{{ article.title }}
{% if loop.last or article.date.strftime('%Y %m') != articles[loop.index0+1].date.strftime('%Y %m') %}
{% endif %}
{% endfor %}
{% endblock content -%}