add transcript to episode page

This commit is contained in:
2024-12-10 15:32:12 -06:00
parent 3fbf318be9
commit 464bf12a39

View File

@@ -12,10 +12,13 @@ eleventyComputed:
<date>{{formatDate this.date "MMMM d, yyyy"}}</date><br>
{{#if podcast.enclosureUrl}}
<a href="{{{podcast.enclosureUrl}}}">Download</a>
<audio controls>
<source src="{{{podcast.enclosureUrl}}}" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
{{#if podcast.transcriptUrl}}| <a href="{{{podcast.transcriptUrl}}}">Transcript</a>{{/if}}
<div>
<audio controls>
<source src="{{{podcast.enclosureUrl}}}" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
</div>
{{/if}}
<div class="d-flex felx-wrap m-1 gap-1">
{{#each tags}}