Show second guest name

If a podcast episode has two guests, show both guest names.
This commit is contained in:
Oliver Davies 2025-02-28 16:33:32 +00:00
parent 9fe5a268bb
commit f5f13d6856
2 changed files with 3 additions and 7 deletions

View file

@ -1,13 +1,13 @@
{% extends 'page' %}
{% block meta_description -%}
Discussing {{ page.topic }} with {{ page.guests.0 }}.
Discussing {{ page.topic }} with {{ page.guests|join(' and ') }}
{%- endblock %}
{% block page_title -%}
{% set episodeNumber = page.url|trim('/')|split('/')|last|split('-')|first -%}
Episode {{ episodeNumber }}: {{ page.topic }} with {{ page.guests.0 }}
Episode {{ episodeNumber }}: {{ page.topic }} with {{ page.guests|join(' and ') }}
{%- endblock %}
{% block head_title %}