Post order
This commit is contained in:
parent
d56e94c41b
commit
a418702432
|
@ -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 %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user