Make the upcoming talks more specific

This commit is contained in:
Oliver Davies 2016-03-05 20:26:36 +00:00
parent 983acbcd84
commit 9f2deef96c

View file

@ -14,7 +14,7 @@ use:
{% set found = false %} {% set found = false %}
{% set year = 0 %} {% set year = 0 %}
{% set now = 'now'|date_modify('-2 days')|date('U') %} {% set now = 'now'|date('U') %}
{% for talk in data.talks|reverse if talk.date >= now %} {% for talk in data.talks|reverse if talk.date >= now %}
{% if loop.first %} {% if loop.first %}
{% set found = true %} {% set found = true %}