From 5b3d4ec8b14334d4ac62fdefc182794ebf85f1b8 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Fri, 10 Jan 2025 19:00:13 +0000 Subject: [PATCH] Fix spacing in podcast episode page titles --- source/_layouts/podcast_episode.html.twig | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/source/_layouts/podcast_episode.html.twig b/source/_layouts/podcast_episode.html.twig index dd8c308f..3bf39716 100644 --- a/source/_layouts/podcast_episode.html.twig +++ b/source/_layouts/podcast_episode.html.twig @@ -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 %} {{ block('page_title') }} | Beyond Blocks podcast | {{ site.name }}