Add introduction text to the daily email archive

...page
This commit is contained in:
Oliver Davies 2024-03-13 23:16:05 +00:00
parent c473a2c188
commit 52c1bfd148
2 changed files with 12 additions and 3 deletions

View file

@ -1,3 +1,8 @@
{% macro yearsExperience() %}
{{- today|date('Y') - 2007 -}}
{# Return a rounded count of daily emails I've sent (e.g. the actual number is 449, return 440+). #}
{% macro dailiesCount(dailies) %}
{{- dailies|length|round(-1, 'floor') -}}+
{% endmacro %}
{% macro yearsExperience() %}
{{- today|date('Y') - 2007 -}}
{% endmacro %}