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

@ -33,6 +33,7 @@ links:
episode_filename: 7-testing-legacy.mp3
file_size: 24294452
duration: 0:53:23
use: [podcast_episodes]
---
Oliver and Mike discuss e-commerce, legacy code, technical debt, automated testing, test-driven development, refactoring, code vs. no-code solutions, and Mike's recent talk at PHP South West in Bristol.