Skip to content

feat(podcast): YouTube rendering + Andrew Pla & Jordan Hammond profiles#36

Merged
HeyItsGilbert merged 4 commits into
mainfrom
feat/podcast-rendering-and-profiles
Jun 23, 2026
Merged

feat(podcast): YouTube rendering + Andrew Pla & Jordan Hammond profiles#36
HeyItsGilbert merged 4 commits into
mainfrom
feat/podcast-rendering-and-profiles

Conversation

@HeyItsGilbert

Copy link
Copy Markdown
Member

Implements WS5 (rendering) and WS6 (author profiles) from docs/podcast-sync-plan.md. Both are small and presentation-only, so they share one PR.

WS5 — YouTube rendering

  • podcast/list.html: cards hotlink img.youtube.com/vi/<id>/maxresdefault.jpg (with onerror fallback to hqdefault.jpg) when an episode has a youtube id; otherwise the existing purple podcast icon.
  • _default/single.html: adds a click-to-load YouTube embed facade (thumbnail poster → youtube-nocookie.com iframe on click; keyboard-accessible) alongside the existing audio player, gated on youtube. Avoids eager iframes across the 220 episodes.
  • Graceful fallback verified for episodes without youtube (incl. archived PowerScripting/libsyn episodes).

WS6 — Author profiles

  • Scaffolded content/authors/andrew-pla/ and content/authors/jordan-hammond/ via tools/new-author.ps1 so slugs match the rewritten bylines (per ADR 0002) — no orphan pages.
  • Andrew Pla: avatar, tagline, bio, and links (website/GitHub/X/LinkedIn/Bluesky) from his links hub.
  • Jordan Hammond: avatar + LinkedIn + a factual tagline/bio (long-time podcast co-host, regular PDQ stream host). Link-light pending more confirmed socials.

Verification

  • hugo --gc --minify builds clean; no orphan-page warnings.
  • Ep 220 (Morten) renders facade + audio + thumbnail; episode-zero (libsyn) falls back to the icon.
  • /authors/andrew-pla/ and /authors/jordan-hammond/ render card + bio and list their episodes; episode "About the Author" now resolves to Andrew.

🤖 Generated with Claude Code

@netlify

netlify Bot commented Jun 23, 2026

Copy link
Copy Markdown

Deploy Preview for powershellorg ready!

Name Link
🔨 Latest commit 79fbfd0
🔍 Latest deploy log https://app.netlify.com/projects/powershellorg/deploys/6a39d6e3e94b7300088cc954
😎 Deploy Preview https://deploy-preview-36--powershellorg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

HeyItsGilbert and others added 4 commits June 22, 2026 17:42
List cards and episode pages hotlink the YouTube thumbnail
(maxresdefault, onerror fallback to hqdefault) when an episode has a
`youtube` id, falling back to the existing purple icon otherwise. The
single page adds a click-to-load embed facade (thumbnail poster ->
youtube-nocookie iframe on click) alongside the existing audio player,
avoiding eager iframes across 220 episodes.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Scaffold author profiles so the rewritten podcast bylines resolve to
real bio cards instead of bare taxonomy pages (per ADR 0002). Slugs
match Hugo's slug of the exact `authors:` strings.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The click-to-load facade relied on Tailwind's `aspect-video` utility,
which does not exist in the theme's Tailwind v2 CDN build — once the
poster image was swapped for the iframe the container collapsed to zero
height. Set the aspect ratio via the CSS `aspect-ratio` property instead.

Also apply the YouTube-thumbnail-with-icon-fallback to the episode cards
on author profile pages, which were always rendering the podcast icon.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Replace the generic fa-user icon next to the byline with the author's
avatar, resolving the byline to its taxonomy term page and reusing the
author-avatar partial (avatar -> gravatar -> identicon fallback), so
un-enriched authors still get a sensible image.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@HeyItsGilbert HeyItsGilbert force-pushed the feat/podcast-rendering-and-profiles branch from 2273735 to 79fbfd0 Compare June 23, 2026 00:44
@HeyItsGilbert HeyItsGilbert merged commit 619884c into main Jun 23, 2026
5 checks passed
@HeyItsGilbert HeyItsGilbert deleted the feat/podcast-rendering-and-profiles branch June 23, 2026 00:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant