diff --git a/source/talks.html.twig b/source/talks.html.twig index 1af53c39..9776a0e3 100644 --- a/source/talks.html.twig +++ b/source/talks.html.twig @@ -66,9 +66,10 @@ talks:

Talks

{% set now = 'now'|date('U') %} +{% set talks = page.talks|reverse %} {% set found = false %} -{% for talk in page.talks|reverse if talk.date >= now %} +{% for talk in talks if talk.date >= now %} {% if loop.first %} {% set found = true %}

Upcoming Talks

@@ -82,7 +83,7 @@ talks: {% endif %} {% set found = false %} -{% for talk in page.talks|reverse if talk.date < now %} +{% for talk in talks if talk.date < now %} {% if loop.first %} {% set found = true %}

Previous Talks