Add "More podcast episodes with..." block

If a guest has been on multiple podcast episodes, show a list on an
episode page linking to their other episodes.

For this to work, each page needs `data.podcast_episodes` to be in
scope, so `use: [podcast_episodes]` needs to be added to the episode.

Whilst I could do this only for the specific episodes, adding it to all
the episodes will make it clearer in the future that I need to have it
instead of forgetting to add it and wondering why it doesn't work.
This commit is contained in:
Oliver Davies 2025-01-02 01:07:54 +00:00
parent e1c216fa91
commit 076802cb5b
27 changed files with 55 additions and 0 deletions

View file

@ -35,4 +35,5 @@ links:
episode_filename: 4-oxfam.mp3
file_size: 21505533
duration: 0:47:36
use: [podcast_episodes]
---