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

@ -1,9 +1,8 @@
<div class="mt4">
<h2>Events</h2>
{% set data = { talks: [page], events: site.events } %}
{% include "talks-table" with {
talks: data|format_talks|reverse,
talks: { talks: [page], events: site.events }|format_talks|reverse,
talk_page: true
} %}
</div>