Commit graph

10 commits

Author SHA1 Message Date
Oliver Davies 45ab483e66 refactor: use the Collection::make() method
Use the `Collection::make()` method and move the subsequent methods onto
their own lines for readability.
2021-11-09 17:35:30 +00:00
Oliver Davies b924e51103 chore: Increase PHPStan to level 6 [ci skip] 2021-09-12 20:50:12 +01:00
Oliver Davies efbd099515 refactor: Remove the sortable_date for talks
Automatically calculate the sortable date for a talk using the event
dates. This means that the `sortable_date` in the YAML front matter can
be removed.

Fixes #4
2021-09-09 07:32:16 +01:00
Oliver Davies be71d9f255 refactor: Extract a TalkCollection 2021-08-28 00:59:44 +01:00
Oliver Davies 6c10410a20 Exclude future talks from the count 2021-08-25 10:48:56 +01:00
Oliver Davies f934948559 Revert "Ensure a talk has a title"
This reverts commit 3ea01ec811.
2021-08-25 01:42:16 +01:00
Oliver Davies 3ea01ec811 Ensure a talk has a title 2021-08-25 01:40:42 +01:00
Oliver Davies 92f3865ee7 Count the number of events from talks 2021-08-25 01:25:57 +01:00
Oliver Davies 5048781ae3 Add TalkExtension as a Twig extension 2021-08-25 00:59:30 +01:00
Oliver Davies 26a632608b Add an initial test for counting past talks 2021-08-23 11:50:24 +01:00