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