Show sooner upcoming talks first

This commit is contained in:
Oliver Davies 2015-09-10 14:15:48 +01:00
parent a1cb9ef62b
commit f762a7fe51

View file

@ -19,7 +19,7 @@ you would like to me to speak at your group or conference, please <a href="/cont
{% set found, year, new_year = false, '0', false %} {% set found, year, new_year = false, '0', false %}
{% for talk in talks if talk.date >= now %} {% for talk in talks|reverse if talk.date >= now %}
{% if loop.first %} {% if loop.first %}
<h2>Upcoming Talks</h2> <h2>Upcoming Talks</h2>
{% endif %} {% endif %}