Refactor by removing temporary variables

This commit is contained in:
Oliver Davies 2017-10-28 14:24:33 +01:00
parent 168272a147
commit c65f94e4bc
3 changed files with 6 additions and 8 deletions

View file

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