Re-add talk templates and partials

This commit is contained in:
Oliver Davies 2021-06-30 08:00:00 +01:00
parent d31410792b
commit 814dd9d97e
8 changed files with 112 additions and 1 deletions

View file

@ -0,0 +1,15 @@
{% if events is not empty %}
<h2>Events</h2>
<ul>
{% for event in events %}
{% include 'talk/events/event.html.twig' with {
date: event.date,
is_online: event.is_online ?? false,
location: event.location,
name: event.name,
url: event.url,
} only %}
{% endfor %}
</ul>
{% endif %}