{% if DISPLAY_ARCHIVE_ON_SIDEBAR and MONTH_ARCHIVE_SAVE_AS %}
{% from 'includes/sidebar/macros.jinja' import title %}
{{ title(Archive, DISABLE_SIDEBAR_TITLE_ICONS) }}
{% for year, date_year in dates|groupby( 'date.year' )|sort(reverse=True) %}
{% for month, articles in date_year|groupby( 'date.month' )|sort(reverse=True) %}