Show upcoming talks in the opposite order
This commit is contained in:
parent
79f818bcaf
commit
d14009c88e
|
@ -17,7 +17,7 @@ use:
|
||||||
{% set talks = data.talks %}
|
{% set talks = data.talks %}
|
||||||
|
|
||||||
{% set found = false %}
|
{% set found = false %}
|
||||||
{% for talk in talks if talk.date >= now %}
|
{% for talk in talks|reverse if talk.date >= now %}
|
||||||
{% if loop.first %}
|
{% if loop.first %}
|
||||||
{% set found = true %}
|
{% set found = true %}
|
||||||
<h2>Upcoming Talks</h2>
|
<h2>Upcoming Talks</h2>
|
||||||
|
|
Reference in a new issue