This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
oliverdavies.uk-old-sculpin/source/_includes/talk/events.html.twig

17 lines
385 B
Twig

<div class="mt4">
<h2>Events</h2>
{% set events = [] %}
{% for date in site.events.dates if date.talk_id == page.talk_id %}
{% set events = events|merge([{
date: date,
event: site.events.events[date.event],
}]) %}
{% endfor %}
{% include 'talks-table' with {
events: events,
talk_page: true
} %}
</div>