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); })