Use the talks content type

This commit is contained in:
Oliver Davies 2015-04-25 14:49:33 +01:00
parent 3392828e61
commit cee66cf2a5

View file

@ -12,7 +12,7 @@ use:
<p>I regularly speak at conferences and user groups about a range of subjects relating to Drupal, PHP and web development. If you would like to me to speak at your group or conference, please <a href="/contact">get in touch</a>.</p>
{% set now = 'now'|date('U') %}
{% set talks = page.talks|reverse %}
{% set talks = data.talks|reverse %}
{% set found = false %}
{% for talk in talks if talk.date >= now %}