Hide the Episodes heading

This commit is contained in:
Oliver Davies 2024-10-01 12:00:00 +01:00
parent 0c74fda28e
commit bcfd011c22
2 changed files with 4 additions and 2 deletions

View file

@ -13,7 +13,9 @@ use:
---
{% block content %}
<p>This is an archive of the {{ data.daily_emails|length|number_format }} email messages I have sent to <a href="/daily">my daily mailing list</a> since the 12th of August, 2022. Enjoy!</p>
{% set daily_emails = data.daily_emails|filter((email) => email.date <= 'now'|date) %}
<p>This is an archive of the {{ daily_emails|length|number_format }} email messages I have sent to <a href="/daily">my daily mailing list</a> since the 12th of August, 2022. Enjoy!</p>
<div class="mt-6 space-y-16">
<div>

View file

@ -13,7 +13,7 @@ A weekly podcast about Drupal, PHP, open-source, and related software developmen
Subscribe at <a href="{{ site.transistor.feed.url }}">{{ site.transistor.feed.url }}</a>.
## Episodes
## Episodes {.sr-only}
{% for episode in data.podcast_episodes|reverse %}
{% set episodeNumber = episode.url|trim('/')|split('/')|last|split('-')|first %}