From 455d27eef5805c7496873f26ea6bd096efee91f4 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 10 Jan 2024 00:44:45 +0000 Subject: [PATCH] Only load the player when there is an episode ID --- source/_layouts/podcast_episode.html.twig | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/source/_layouts/podcast_episode.html.twig b/source/_layouts/podcast_episode.html.twig index c58870d2d..57ef243a4 100644 --- a/source/_layouts/podcast_episode.html.twig +++ b/source/_layouts/podcast_episode.html.twig @@ -9,16 +9,18 @@ {% endblock %} {% block content_wrapper %} -
- -
+ {% if transistor.id %} +
+ +
+ {% endif %} {{ parent() }}