refactor: rename event list partials
This commit is contained in:
parent
a445072048
commit
d934089b57
|
@ -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,
|
|
@ -15,7 +15,7 @@
|
|||
video: page.video,
|
||||
} only %}
|
||||
|
||||
{% include 'talk/events' with {
|
||||
{% include 'talk/event-list' with {
|
||||
events: page.events|reverse,
|
||||
} only %}
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue