Add talk intro and count
This commit is contained in:
parent
e0256a0bca
commit
dc3ebafc14
|
@ -25,13 +25,21 @@ talks:
|
||||||
date: 2018-06-27
|
date: 2018-06-27
|
||||||
---
|
---
|
||||||
{% block content %}
|
{% 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>
|
||||||
|
</header>
|
||||||
|
|
||||||
<div class="spaced-y-10">
|
<div class="spaced-y-10">
|
||||||
{% include 'talks/upcoming' with {
|
{% include 'talks/upcoming' with {
|
||||||
talks: getTalks(page.talks|merge(data.talks))|upcoming,
|
talks: upcomingTalks,
|
||||||
} %}
|
} %}
|
||||||
|
|
||||||
{% include 'talks/past' with {
|
{% include 'talks/past' with {
|
||||||
talks: getTalks(page.talks|merge(data.talks))|past,
|
talks: pastTalks,
|
||||||
} %}
|
} %}
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in a new issue