23 lines
734 B
Markdown
23 lines
734 B
Markdown
---
|
|
title: "Veranstaltungen"
|
|
layout: default
|
|
---
|
|
|
|
{% assign events = site.events | sort: "date", "first" | where_exp:"event","event.date >= site.time" %}
|
|
{% if events.size > 0 %}
|
|
<h2>Zukünftige</h2>
|
|
{% for event in events %}
|
|
<h3><a href="{{ event.url }}">{{ event.title }}, {{ event.date | date: "%F" }}</a></h3>
|
|
{{ event.excerpt }}
|
|
{% endfor %}
|
|
{% endif %}
|
|
|
|
{% 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 }}
|
|
{% endfor %}
|
|
{% endif %}
|