Post order

This commit is contained in:
Lynn Ochs 2023-02-19 08:07:35 +01:00
parent d56e94c41b
commit a418702432

View File

@ -15,7 +15,7 @@ layout: default
{% assign events = site.events | sort: "date", "last" | where_exp:"event","event.date < site.time" %} {% assign events = site.events | sort: "date", "last" | where_exp:"event","event.date < site.time" %}
{% if events.size > 0 %} {% if events.size > 0 %}
<h2>Vergangene</h2> <h2>Vergangene</h2>
{% for event in events | sort: "date", "last" | where_exp:"event","event.date < site.time" %} {% for event in events | sort: "date", "first" | where_exp:"event","event.date < site.time" %}
<h3><a href="{{ event.url }}">{{ event.title }}, {{ event.date | date: "%F" }}</a></h3> <h3><a href="{{ event.url }}">{{ event.title }}, {{ event.date | date: "%F" }}</a></h3>
{{ event.excerpt }} {{ event.excerpt }}
{% endfor %} {% endfor %}