Commit graph

10 commits

Author SHA1 Message Date
275103e149 Re-add and use custom Twig extensions 2025-05-04 20:36:05 +01:00
94a4190be6 Remove custom Twig extensions
Go back to calculating the talk count inline and using a macro to get
the number of years experience.
2024-11-30 20:58:54 +00:00
1a4ff13675 Simplify the directory structure 2024-09-04 20:05:14 +01:00
51cd9ffdca Split src/ and tests/ directories 2024-09-03 20:55:16 +01:00
2a4247684d Group talk classes into a modules directory 2024-08-02 18:39:05 +01:00
1a0101772f Only past talks are counted
Talks at an event happening "today" haven't happened yet, so shouldn't
be counted.

A talk should only counted if it was given at a past event -
i.e. yesterday or earlier.

Previously a talk with today's date was returning a time of 00:00 and
was being counted in the past count if the site was generated on the
same day.
2024-08-01 21:08:20 +01:00
216fe30bf5 Add custom assertion for the talk count 2024-05-03 14:55:43 +01:00
4eb34fbbb1 Add more tests 2024-05-03 14:45:58 +01:00
b4612c3da3 Fix indentation 2024-05-03 14:22:39 +01:00
6ee3e91363 Add OpdaviesTwigExtensionTest 2024-05-03 14:18:05 +01:00