Show the exact number of sent daily emails

This commit is contained in:
Oliver Davies 2024-08-15 18:00:00 +01:00
parent 57be7178fc
commit c316004eb7
8 changed files with 1 additions and 19 deletions

View file

@ -1,5 +1,3 @@
{% import 'macros' as macros %}
<div>
<h2 class="text-xl font-bold">About me</h2>

View file

@ -1,4 +0,0 @@
{# 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 %}