{% if max_days %} {% set grouped_events = grouped_events[:max_days] %} {% endif %} {% for start_date, events in grouped_events %}
{{ start_date | format_datetime("MMM") }}
{{ start_date | format_datetime("d") }}
{{ start_date | format_datetime("EEE") }}
{% for event in events %}
{{ event.start | format_datetime("HH:mm") }}
{{ event.end | format_datetime("HH:mm") }}
{% if event.description or event.location %}
{{ event.summary | urlize }}
{% if event.description %}
{#- description doesn't need an icon, just wastes space #}
{{ event.description | urlize | nl2br }}
{% endif %} {% if event.location %}
{{ event.location | urlize | nl2br }}
{% endif %}
{% else %} {{ event.summary }} {% endif %}
{%- if "AusbauLab" in event.categories %}
{%- elif event.color %}
{%- else %}
{%- endif %}
{% endfor %}
{% endfor %}