diff --git a/source/_pages/archive.html b/source/_pages/archive.html index 496dde94..d20b22a0 100644 --- a/source/_pages/archive.html +++ b/source/_pages/archive.html @@ -13,7 +13,9 @@ use: --- {% block content %} -

This is an archive of the {{ data.daily_emails|length|number_format }} email messages I have sent to my daily mailing list since the 12th of August, 2022. Enjoy!

+ {% set daily_emails = data.daily_emails|filter((email) => email.date <= 'now'|date) %} + +

This is an archive of the {{ daily_emails|length|number_format }} email messages I have sent to my daily mailing list since the 12th of August, 2022. Enjoy!

diff --git a/source/_pages/podcast.md b/source/_pages/podcast.md index 9a21fc74..a540599a 100644 --- a/source/_pages/podcast.md +++ b/source/_pages/podcast.md @@ -13,7 +13,7 @@ A weekly podcast about Drupal, PHP, open-source, and related software developmen Subscribe at {{ site.transistor.feed.url }}. -## Episodes +## Episodes {.sr-only} {% for episode in data.podcast_episodes|reverse %} {% set episodeNumber = episode.url|trim('/')|split('/')|last|split('-')|first %}