Remove variables
This commit is contained in:
parent
679da826b4
commit
e94ff3addd
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue