{% extends "page.html" %} {% if page.termine %} {% set date_format = "%d.%m." %} {% set time_format = "%H:%M" %} {% block content_all %}
{% block content_header %} {{ super() }} {% endblock content_header %} {% block content_body %} {% if page.featured_image %}
{% from 'includes/macros.html' import fi %} {% set i = page.featured_image[0] %} {{ fi(i.pic, i.link, i.text, i.alt, i.credit, i.credit_link) }}
{% endif %}
{# loop over all events that have not started yet #} {% for t in page.termine | selectattr("startdate", ">=", DATETIME_NOW) %} {% endfor %}
Wann & Wo Was & Wieso
{{ t.startdate | strftime(date_format) }}{% if t.enddate %}–{{t.enddate | strftime(date_format) }}{% elif t.starttime %} {{ t.starttime | strftime(time_format) }}{% endif %}
{{ t.location }}

{{ t.summary }} {% if "Moderation" in t.categories %}(Moderation){%endif%}

{% if t.description %}

{{ t.description | replace("\n\n", "

") | replace("\n", "
") | replace("


", "

")}}

{% endif %} {% if t.link %}

Mehr Infos

{% endif %}
{% if t.image %}siehe auch … {% endif %}

Regelmäßige Veranstaltungsreihen:  Babelsberger Lesesalon    Andere Welten 

{% endblock content_body %} {% block content_footer %} {% if page.written_at %} {% endif %} {% endblock content_footer %}
{% endblock content_all %} {% endif %}