From e94ff3adddd64bffc73fa3d3a7817696b66a8745 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Mon, 20 May 2019 12:54:38 +0100 Subject: [PATCH] Remove variables --- source/talks.html.twig | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/source/talks.html.twig b/source/talks.html.twig index 904211ec..7d327af6 100644 --- a/source/talks.html.twig +++ b/source/talks.html.twig @@ -26,8 +26,6 @@ talks: --- {% block content %} {% set talks = getTalks(page.talks|merge(data.talks)) %} - {% set upcomingTalks = talks|upcoming %} - {% set pastTalks = talks|past %}

After giving my first talk in September 2012, I have now given {{ pastTalks|events|length }} presentations at various conferences and meetups, on topics including PHP, Drupal, Git, CSS and systems administration.

@@ -35,11 +33,11 @@ talks:
{% include 'talks/upcoming' with { - talks: upcomingTalks, + talks: talks|upcomingTalks, } %} {% include 'talks/past' with { - talks: pastTalks, + talks: talks|pastTalks, } %}
{% endblock %}