From cee66cf2a539ac1e2a8963bc54dce1cc58bc5e3d Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sat, 25 Apr 2015 14:49:33 +0100 Subject: [PATCH] Use the talks content type --- source/talks.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/talks.html.twig b/source/talks.html.twig index 6f89c3a0..07b7fa1c 100644 --- a/source/talks.html.twig +++ b/source/talks.html.twig @@ -12,7 +12,7 @@ use:

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 get in touch.

{% 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 %}