oliverdavies.uk/source/_includes/talk/events.html.twig

17 lines
385 B
Twig
Raw Normal View History

2017-09-05 17:37:41 +00:00
<div class="mt4">
<h2>Events</h2>
{% set events = [] %}
2017-09-06 06:34:18 +00:00
{% for date in site.events.dates if date.talk_id == page.talk_id %}
2017-09-05 19:22:34 +00:00
{% set events = events|merge([{
date: date,
event: site.events.events[date.event],
}]) %}
2017-09-05 17:37:41 +00:00
{% endfor %}
{% include 'talks-table' with {
events: events,
2017-09-06 06:34:18 +00:00
talk_page: true
2017-09-05 17:37:41 +00:00
} %}
</div>