{% extends "page.html" %} {# note that this template's filename is ''termine.noformat.html'' and not ''termine.html''. This is because vscodium's autoformat breaks the ''replace'' filters in the summary line, which is bad. By setting an exlude rule for all "noformat.html" files in vscodium's settings.json file, autoformat will now ignore this file. #} {% if page.termine is defined %} {% set date_format = "%d.%m." %} {% set time_format = "%H:%M" %} {% block content_body %}
| Wann & Wo | Was & Wieso |
|---|---|
| {{ t.startdate | strftime(date_format) }}{% if t.enddate is defined %}–{{t.enddate | strftime(date_format) }}{% elif t.starttime is defined %} {{ t.starttime | strftime(time_format) }}{% endif %} {{ t.location }} |
{{ t.summary }} {% if "Moderation" in t.categories %}(Moderation){%endif%} {% if t.description is defined %}{{ t.description | replace("\n\n", " ") | replace("\n", " ", " ")}} {% endif %} {% if t.attach is defined %}{% endif %} |