diff --git a/source/talks.html.twig b/source/talks.html.twig index a134d6c4..031a7c12 100644 --- a/source/talks.html.twig +++ b/source/talks.html.twig @@ -28,29 +28,31 @@ talks: date: 2018-09-05 --- {% block content %} -
-

I regularly speak at conferences and user groups about a range of subjects including PHP, Drupal, automated testing, Git and systems administration.

-
+
+
+

Upcoming Talks

-
-

Upcoming Talks

+
+ {% for talk in getUpcomingTalks(page.talks|merge(data.talks)) %} +
+

{{ talk.title }}

+
+ {% else %} +

sdf

+ {% endfor %} +
+
- {% set upcoming_talks = getUpcomingTalks(data.talks|merge(page.talks), site.events) %} - {% if not upcoming_talks.empty %} - {% include "talks/table" with { - talks: upcoming_talks, - upcoming: true, - } %} - {% else %} -

Nothing scheduled at the moment.

- {% endif %} -
+
+

Previous Talks

-
-

Previous Talks

- - {% include "talks/table" with { - talks: getPastTalks(data.talks|merge(page.talks), site.events) - } %} +
+ {% for talk in getPastTalks(page.talks|merge(data.talks))|reverse %} +
+

{{ talk.title }}

+
+ {% endfor %} +
+
{% endblock %}