2024-11-24
This commit is contained in:
@@ -9,17 +9,22 @@ eleventyComputed:
|
||||
<div class="row">
|
||||
<div class="col"><img src="{{{this.url}}}../image.jpg" class="img-fluid"></div>
|
||||
<div class="col">
|
||||
<h1>{{#if title}}{{{title}}}{{else}}Episode {{episode}}{{/if}}<a href="{{{podcast.url}}}" ><i class="bi bi-download m-1"></i></a></h1>
|
||||
{{#if podcast.url}}
|
||||
<h1>{{#if title}}{{{title}}}{{else}}Episode {{episode}}{{/if}}</h1>
|
||||
Season {{season}}, Episode {{episode}} <br>
|
||||
<date>{{formatDate this.date "MMMM d, yyyy"}}</date><br>
|
||||
{{#if podcast.enclosureUrl}}
|
||||
<a href="{{{podcast.enclosureUrl}}}">Download</a>
|
||||
<audio controls>
|
||||
<source src="{{{podcast.url}}}" type="audio/mpeg">
|
||||
<source src="{{{podcast.enclosureUrl}}}" type="audio/mpeg">
|
||||
Your browser does not support the audio element.
|
||||
</audio>
|
||||
{{/if}}
|
||||
<div class="d-flex felx-wrap m-1 gap-1">
|
||||
{{#each tags}}
|
||||
{{#unlessEq this "episode"}}
|
||||
<div class="badge text-bg-dark fw-light rounded-1">{{{this}}}</div>
|
||||
{{#with (findPageByTag this ../collections) as |page|}}
|
||||
<a href="{{ page.url }}" class="badge text-bg-dark fw-light rounded-1">{{ page.data.title }}</a>
|
||||
{{/with}}
|
||||
{{/unlessEq}}
|
||||
|
||||
{{/each}}
|
||||
|
||||
Reference in New Issue
Block a user