44 lines
1.4 KiB
Twig
44 lines
1.4 KiB
Twig
---
|
||
layout: default
|
||
title: Talks
|
||
meta:
|
||
description: 'Information about previous and upcoming talks that Oliver has presented at conferences and user groups'
|
||
use: [talks, posts]
|
||
---
|
||
<h1>Talks</h1>
|
||
|
||
<p>I regularly speak at conferences and user groups about a range of subjects including Drupal, Sculpin and Git. If you would like to me to speak at your group or conference, please <a href="/contact/">get in touch</a>.</p>
|
||
|
||
<p>There is also information about events that I’ve attended and spoken at on my <a href="{{ site.lanyrd.url }}">Lanyrd</a> and <a href="{{ site.joindin.url }}">Joind.in</a> profiles.</p>
|
||
|
||
{% set upcoming_events = [] %}
|
||
{% set past_events = [] %}
|
||
|
||
{% for talk in data.talks %}
|
||
{% for event in talk.events if event.date >= 'today'|date('Y-m-d') %}
|
||
{% set event = event|merge({ talk: talk })|merge(site.events[event.id]) %}
|
||
{% set upcoming_events = upcoming_events|merge([event]) %}
|
||
{% endfor %}
|
||
|
||
{% for event in talk.events if event.date < 'today'|date('Y-m-d') %}
|
||
{% set event = event|merge({ talk: talk })|merge(site.events[event.id]) %}
|
||
{% set past_events = past_events|merge([event]) %}
|
||
{% endfor %}
|
||
{% endfor %}
|
||
|
||
<h2>Upcoming Talks</h2>
|
||
|
||
{% include "talks-table" with {
|
||
events: upcoming_events,
|
||
show_talk: true
|
||
} %}
|
||
|
||
<h2>Previous Talks</h2>
|
||
|
||
{% include "talks-table" with {
|
||
events: past_events,
|
||
reverse_order: true,
|
||
show_feedback: true,
|
||
show_talk: true
|
||
} %}
|