add srt files
This commit is contained in:
@@ -12,7 +12,7 @@ eleventyComputed:
|
||||
<date>{{formatDate this.date "MMMM d, yyyy"}}</date><br>
|
||||
{{#if podcast}}
|
||||
<a href="{{{podcast.enclosureUrl}}}">Download</a>
|
||||
{{#if podcast.transcriptUrl}}| <a href="{{{podcast.transcriptUrl}}}">Transcript</a>{{/if}}
|
||||
{{#if podcast.transcriptPage}}| <a href="{{{podcast.transcriptPage}}}">Transcript</a>{{/if}}
|
||||
|
||||
<div>
|
||||
<audio controls>
|
||||
|
||||
11
layouts/transcript.hbs
Normal file
11
layouts/transcript.hbs
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
layout: base
|
||||
---
|
||||
<script>
|
||||
{{{content}}}
|
||||
</script>
|
||||
{{#each transcript}}
|
||||
<div>
|
||||
{{formatDuration this.data.start "hh:mm:ss"}}: {{this.data.text}}
|
||||
</div>
|
||||
{{/each}}
|
||||
Reference in New Issue
Block a user