Re-add talk templates and partials
This commit is contained in:
parent
d31410792b
commit
814dd9d97e
8 changed files with 112 additions and 1 deletions
15
source/_partials/talk/events.html.twig
Normal file
15
source/_partials/talk/events.html.twig
Normal 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 %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue