diff --git a/themes/intotheeast/templates/trips.html.twig b/themes/intotheeast/templates/trips.html.twig index 05f9254..60a5726 100644 --- a/themes/intotheeast/templates/trips.html.twig +++ b/themes/intotheeast/templates/trips.html.twig @@ -2,7 +2,7 @@ {% block content %}

Past Trips

-{% set trips = page.children.published() %} +{% set trips = page.children.published()|sort((a, b) => a.date < b.date ? 1 : -1) %} {% if trips|length == 0 %}

No trips yet.

{% else %}