Website/events.md
2023-02-20 07:04:07 +01:00

688 B

title layout
Veranstaltungen default

{% assign events = site.events | sort: "date" | where_exp:"event","event.date >= site.time" %} {% if events.size > 0 %}

Zukünftige

{% for event in events %}

{{ event.title }}, {{ event.date | date: "%F" }}

{{ event.excerpt }} {% endfor %} {% endif %}

{% assign events = site.events | sort: "date" | where_exp:"event","event.date < site.time" %} {% if events.size > 0 %}

Vergangene

{% for event in events reversed %}

{{ event.title }}, {{ event.date | date: "%F" }}

{{ event.excerpt }} {% endfor %} {% endif %}