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:
2024-12-23 13:30:22 -06:00
parent 5cdb6a4c88
commit 385694fb75
16 changed files with 405 additions and 34 deletions

3
.vscode/launch.json vendored
View File

@@ -4,9 +4,6 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",

14
.vscode/settings.json vendored
View File

@@ -2,5 +2,17 @@
"files.exclude": {
// "dist/": true
"**/.obsidian/": true
}
},
"files.associations": {
"*.md": "markdown-eleventy"
},
"terminal.integrated.env.osx": {
"VSCODE_HISTFILE": "${workspaceFolder}/.vscode/.zsh_history",
},
"[markdown-eleventy]": {
"editor.wordWrap": "on",
"editor.wordWrapColumn": 80, // Optional: Set to your preferred wrap column
"editor.quickSuggestions": false // Optional: Disable suggestions for Markdown
}
}

35
.vscode/tasks.json vendored
View File

@@ -2,19 +2,28 @@
"version": "2.0.0",
"tasks": [
{
"label": "Simple Browser",
"command": "${input:openSimpleBrowser}",
"problemMatcher": []
}
],
"inputs": [
{
"id": "openSimpleBrowser",
"type": "command",
"command": "simpleBrowser.show",
"args": [
"http://localhost:8081"
]
"label": "Deploy Site",
"type": "shell",
"command": "./deploy.sh",
"options": {
"env": {
"PRODUCTION_SERVER": "rpg",
"PRODUCTION_PATH": "/docker/rpg.ascorrea.com/apps/html",
"SITE_URL": "https://rpg.ascorrea.com",
"CDN_URL": "https://podcast.rpg.cdn.ascorrea.com",
"FOUNDRY_BASE_URL": "https://podcast.rpg.cdn.ascorrea.com",
"PATH_PREFIX": "/"
}
},
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"reveal": "always",
"panel": "shared"
},
"problemMatcher": []
}
]
}