Reorder talk events

This commit is contained in:
Oliver Davies 2024-08-07 02:07:26 +01:00
parent 8b7742f738
commit 81b95736ee
18 changed files with 253 additions and 252 deletions

View file

@ -12,7 +12,7 @@ use: [talks]
Since September 2012, I have given {{ get_past_talk_count(data.talks) }} public presentations and workshops at various conferences and meetups, in-person and remotely, on topics including PHP, Drupal, automated testing, Git, CSS, and systems administration.
{% for talk in data.talks|sort((a, b) => a.events|first.date|date('U') > b.events|first.date|date('U') ? -1 : 1) %}
{% for talk in data.talks|sort((a, b) => a.events|last.date|date('U') > b.events|last.date|date('U') ? -1 : 1) %}
<article>
<div class="not-prose">
<h2 class="text-xl font-bold">