Remove variables

This commit is contained in:
Oliver Davies 2019-05-20 12:54:38 +01:00
parent 679da826b4
commit e94ff3addd

View file

@ -26,8 +26,6 @@ talks:
---
{% block content %}
{% set talks = getTalks(page.talks|merge(data.talks)) %}
{% set upcomingTalks = talks|upcoming %}
{% set pastTalks = talks|past %}
<header class="mb-6">
<p class="text-lg">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.</p>
@ -35,11 +33,11 @@ talks:
<div class="spaced-y-10">
{% include 'talks/upcoming' with {
talks: upcomingTalks,
talks: talks|upcomingTalks,
} %}
{% include 'talks/past' with {
talks: pastTalks,
talks: talks|pastTalks,
} %}
</div>
{% endblock %}