From 3dff85e33e26e19ae384bb5d621f517feda4839f Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 25 Aug 2015 12:23:40 +0100 Subject: [PATCH] Started re-adding talks --- source/_partials/talk_listing_item.twig | 6 ++++-- source/talks.twig | 10 +++++++--- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/source/_partials/talk_listing_item.twig b/source/_partials/talk_listing_item.twig index 3bfa5992..7efebb74 100644 --- a/source/_partials/talk_listing_item.twig +++ b/source/_partials/talk_listing_item.twig @@ -6,7 +6,9 @@ {{ talk.date|date('F') }} {% endif %} - {{ talk.location }} - - + {% if talk.title_link %}{% endif %} {{ talk.title }} - + {% if talk.title_link %}{% endif %} + + {{ talk.title_suffix }} {% endspaceless %} diff --git a/source/talks.twig b/source/talks.twig index ab892341..65a15782 100644 --- a/source/talks.twig +++ b/source/talks.twig @@ -3,8 +3,12 @@ layout: default title: Talks meta: description: 'Information about previous and upcoming talks that Oliver has presented at conferences and user groups' -use: - - talks +talks: + - { date: 2015-04-08, location: PHPSW, title: Drupal 8, title_suffix: (lightning talk), title_link: https://joind.in/talk/view/14380 } + - { date: 2015-07-25, location: DrupalCamp North, title: Test Drive Twig with Sculpin, title_link: https://speakerdeck.com/opdavies/test-drive-twig-with-sculpin } + - { date: 2015-08-25, location: Umbraco Bristol, title: Drupal } + - { date: 2015-11-01, location: Accessible Bristol, title: Accessible Drupal, fuzzy_date: true } + - { date: 2015-11-01, location: Unified Diff, title: Building Static Websites with Sculpin, fuzzy_date: true } --- {% block body_classes 'page--talks page--talks__list' %} @@ -18,7 +22,7 @@ use: Lanyrd and Joind.in profiles.

{% set now = 'now'|date('U') %} - {% set talks = data.talks|reverse %} + {% set talks = page.talks %} {% set found = false %} {% set year = '0' %}