feat: enhance podcast functionality and build pipeline
- Dynamically resolve image paths for podcast episodes in `episodes.11tydata.js` - Add podcast metadata handling with inferred URLs for MP3 and transcripts - Introduce search functionality with Lunr.js and a search index generator - Update Eleventy path prefix handling to support environment variable override - Add `.mp4` files to `.gitignore` - Expand VSCode settings to include Markdown-Eleventy support and improved terminal history - Add deployment script (`deploy.sh`) with remote rsync-based deployment and permission handling - Adjust episode layout to use dynamic image paths and updated podcast metadata - Add search and members page updates, including new URLs and search integration - Update dependencies to include `html-to-text` and related packages for search indexing
This commit is contained in:
@@ -5,12 +5,12 @@ eleventyComputed:
|
||||
---
|
||||
<div class="bg-body-tertiary p-4 my-2 rounded">
|
||||
<div class="row">
|
||||
<div class="col"><img src="{{{this.url}}}../image.jpg" class="img-fluid"></div>
|
||||
<div class="col"><img src="{{{this.image}}}" class="img-fluid"></div>
|
||||
<div class="col">
|
||||
<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}}
|
||||
{{#if podcast}}
|
||||
<a href="{{{podcast.enclosureUrl}}}">Download</a>
|
||||
{{#if podcast.transcriptUrl}}| <a href="{{{podcast.transcriptUrl}}}">Transcript</a>{{/if}}
|
||||
<div>
|
||||
|
||||
@@ -65,7 +65,7 @@ class PodcastFeed {
|
||||
if (episode.data.podcast.transcriptUrl) {
|
||||
item.customElements.push({ 'podcast:transcript': {_attr:{
|
||||
url:`${episode.data.podcast.transcriptUrl}`,
|
||||
type:"application/srt",
|
||||
type:"application/x-subrip",
|
||||
language:"en-us"
|
||||
}}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user