Website/events.md

23 lines
734 B
Markdown
Raw Normal View History

2019-06-17 21:54:18 +00:00
---
2023-02-19 06:50:30 +00:00
title: "Veranstaltungen"
2019-06-17 21:39:50 +00:00
layout: default
---
2023-02-19 06:50:30 +00:00
{% assign events = site.events | sort: "date", "first" | where_exp:"event","event.date >= site.time" %}
{% if events.size > 0 %}
<h2>Zukünftige</h2>
2021-10-15 22:43:06 +00:00
{% for event in events %}
2023-02-19 06:50:30 +00:00
<h3><a href="{{ event.url }}">{{ event.title }}, {{ event.date | date: "%F" }}</a></h3>
2019-06-17 22:16:40 +00:00
{{ event.excerpt }}
2023-02-19 06:50:30 +00:00
{% endfor %}
{% endif %}
2019-06-17 22:16:40 +00:00
2023-02-19 06:50:30 +00:00
{% assign events = site.events | sort: "date", "last" | where_exp:"event","event.date < site.time" %}
{% if events.size > 0 %}
<h2>Vergangene</h2>
{% for event in events | sort: "date", "last" | where_exp:"event","event.date < site.time" %}
<h3><a href="{{ event.url }}">{{ event.title }}, {{ event.date | date: "%F" }}</a></h3>
{{ event.excerpt }}
2019-06-17 22:16:40 +00:00
{% endfor %}
2023-02-19 06:50:30 +00:00
{% endif %}