Organise events by date
This commit is contained in:
parent
9b29494550
commit
f506db6ca6
|
@ -3,7 +3,7 @@
|
|||
<h2>Events</h2>
|
||||
|
||||
<ul>
|
||||
{% for event in events %}
|
||||
{% for event in events|sort((a, b) => a.date > b.date) %}
|
||||
{% include 'talk/events/event.html.twig' with {
|
||||
date: event.date,
|
||||
is_online: event.is_online ?? false,
|
||||
|
|
Loading…
Reference in a new issue