{% load i18n apphooks_config_tags %} {% load url from future %} {% regroup dates by date.year as years %} {% with current_year=year current_month=month %}
{% for year in years %} {# month list #}
{% for month in year.list %} {{ month.date|date:"F" }} {{ month.num_entries }} {% endfor %}
{% empty %}

{% trans "No entry found." %}

{% endfor %}
{% endwith %}