From bb57e68381c686d62c12df71f6d6499005df7009 Mon Sep 17 00:00:00 2001 From: Anthony Correa Date: Tue, 10 Dec 2024 16:09:28 -0600 Subject: [PATCH] fix transcript --- layouts/podcast.11ty.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/layouts/podcast.11ty.js b/layouts/podcast.11ty.js index ec9d0d8..53d532d 100644 --- a/layouts/podcast.11ty.js +++ b/layouts/podcast.11ty.js @@ -62,8 +62,11 @@ class PodcastFeed { // itunesDuration: duration, } if (episode.data.podcast.transcriptUrl) { - item.customElements.push({ 'podcast:transcript': `${episode.data.podcast.transcriptUrl}` }) - } + item.customElements.push({ 'podcast:transcript': { + url:episode.data.podcast.transcriptUrl, + type:"application/x-subrip" + } + })} item = feed.addItem(item); })