Show upcoming talks in the opposite order

This commit is contained in:
Oliver Davies 2015-07-15 11:47:30 +01:00
parent 79f818bcaf
commit d14009c88e

View file

@ -17,7 +17,7 @@ use:
{% set talks = data.talks %}
{% set found = false %}
{% for talk in talks if talk.date >= now %}
{% for talk in talks|reverse if talk.date >= now %}
{% if loop.first %}
{% set found = true %}
<h2>Upcoming Talks</h2>