{% extends "core/base.html" %} {% load core_tags menu_tags static wagtailuserbar wagtailcore_tags wagtailimages_tags %} {% block content %}
{% for event in self.events %}
{{ event.value.start_date|date:"SHORT_DATE_FORMAT" }}{% if event.value.end_date %} - {{ event.value.end_date|date:"SHORT_DATE_FORMAT" }}{% endif %}
{{ event.value.start_date|date:"F Y" }}

{{ event.value.title }} {% if event.value.subtitle %}
{{ event.value.subtitle }}{% endif %}

{% if event.value.image %} {% image event.value.image max-250x250 class="img-fluid rounded" %} {% endif %}
{{ event.value.start_date }}{% if event.value.end_date %} - {{ event.value.end_date }}{% endif %}

{% if event.value.location_name %}{{ event.value.location_name }}
{% endif %} {% if event.value.location_city %}{{ event.value.location_city }}{% endif %}

{% if event.value.flyer.url %}

Programm herunterladen

{% endif %} {% if event.value.additional_info_target.url %}

{{ event.value.additional_info_btn_label }}

{% endif %}
{% endfor %}
{% endblock content %}