Fix spacing in podcast episode page titles
Some checks failed
Build and Deploy / build_and_deploy (push) Has been cancelled

This commit is contained in:
Oliver Davies 2025-01-10 19:00:13 +00:00
parent 8334ede1f8
commit 5b3d4ec8b1

View file

@ -4,13 +4,11 @@
Discussing {{ page.topic }} with {{ page.guests.0 }}.
{%- endblock %}
{% block page_title %}
{% set episodeNumber = page.url|trim('/')|split('/')|last|split('-')|first %}
{% block page_title -%}
{% set episodeNumber = page.url|trim('/')|split('/')|last|split('-')|first -%}
Episode {{ episodeNumber }}:
{{ page.topic }}
with {{ page.guests.0 }}
{% endblock %}
Episode {{ episodeNumber }}: {{ page.topic }} with {{ page.guests.0 }}
{%- endblock %}
{% block head_title %}
<title>{{ block('page_title') }} | Beyond Blocks podcast | {{ site.name }}</title>