refactor: rename event list partials

This commit is contained in:
Oliver Davies 2022-01-03 10:52:29 +00:00
parent a445072048
commit d934089b57
3 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@
<ul>
{% for event in events|sort((a, b) => a.date > b.date) %}
{% include 'talk/events/event.html.twig' with {
{% include 'talk/event-list-event.html.twig' with {
date: event.date,
is_online: event.is_online ?? false,
location: event.location,

View file

@ -15,7 +15,7 @@
video: page.video,
} only %}
{% include 'talk/events' with {
{% include 'talk/event-list' with {
events: page.events|reverse,
} only %}
</div>