{% load event_tags keyword_tags i18n future %} {% block recent_events %} {% recent_events 5 as recent_events %} {% if recent_events %}

{% trans "Recent Events" %}

{% endif %} {% endblock %} {% block event_months %} {% event_months as months %} {% if months %}

{% trans "Archive" %}

{% for month in months %} {% ifchanged month.date.year %} {% if not forloop.first %}{% endif %}
{{ month.date.year }}
{% endif %} {% endblock %} {% block event_locations %} {% event_locations as locations %} {% if locations %}

{% trans "Locations" %}

{% endif %} {% endblock %} {% block event_keywords %} {% keywords_for mezzanine_agenda.event as tags %} {% if tags %}

{% trans "Tags" %}

{% endif %} {% endblock %} {% block event_authors %} {% event_authors as authors %} {% if authors %}

{% trans "Authors" %}

{% endif %} {% endblock %} {% block event_feeds %}

{% trans "Feeds" %}

{% if tag %} {% trans "RSS" %} / {% trans "Atom" %} {% endif %} {% if location %} {% trans "RSS" %} / {% trans "Atom" %} {% endif %} {% if author %} {% trans "RSS" %} / {% trans "Atom" %} {% endif %} {% if not tag and not location and not author %} {% trans "RSS" %} / {% trans "Atom" %} {% endif %} {% endblock %}