{% extends 'events/base.html' %} {% block head_page_title %}{{ year|date:"Y" }} events{% endblock %} {% block content_title %}{{ year|date:"Y" }} events{% endblock %} {% block breadcrumbs %} {{ block.super }} {% endblock %} {% block content %} {% include 'core/includes/pager.html' with url_name='spectator:event_year_archive' previous=previous_year next=next_year only %} {% if event_list|length > 0 %} {% for event in event_list %} {% ifchanged event.date|date:"m" %} {% if not forloop.first %} {% endif %}

{{ event.date|date:"F"}}

{% include 'core/includes/pager.html' with url_name='spectator:event_year_archive' previous=previous_year next=next_year only %} {% else %}

No events in {{ year|date:"Y" }}.

{% endif %} {% endblock content %}