Use Twig functions rather than filters

This commit is contained in:
Oliver Davies 2017-11-14 13:43:46 +00:00
parent ae2bc2a36f
commit c4700f7d66
5 changed files with 44 additions and 56 deletions

View file

@ -13,8 +13,6 @@ talks:
---
<p>Here are a list of my previous conference and user group talks:</p>
{% include "talks-table" with {
talks: { talks: data.talks|merge(page.talks), event_data: site.events }|past_talks
} %}
{% include "talks-table" with { talks: getPastTalks(data.talks, site.events) } %}
<p>Upcoming talks can be found on the <a href="{{ site.url }}/talks">talks page</a>.</p>