From 7fa8dd39fbfe039dd47d805be0c8d3e5a47f19f0 Mon Sep 17 00:00:00 2001 From: Gilbert Sanchez Date: Mon, 22 Jun 2026 17:21:51 -0700 Subject: [PATCH 1/4] feat(podcast): render YouTube thumbnails and click-to-load embed 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 --- .../layouts/_default/single.html | 42 +++++++++++++++++++ .../layouts/podcast/list.html | 10 +++++ 2 files changed, 52 insertions(+) diff --git a/themes/powershell-community/layouts/_default/single.html b/themes/powershell-community/layouts/_default/single.html index 4ef364c5f..67358ce30 100644 --- a/themes/powershell-community/layouts/_default/single.html +++ b/themes/powershell-community/layouts/_default/single.html @@ -99,6 +99,27 @@

Listen to this Episode

{{ end }} + + {{ if and (eq .Section "podcast") .Params.youtube }} + {{ with .Params.youtube }} +
+
+ Watch this episode on YouTube +
+
+ +
+
+
+
+ {{ end }} + {{ end }} +
{{ .Content }} @@ -197,5 +218,26 @@

} }); }); + + // Click-to-load YouTube embed facade (avoids eager iframe load) + (function () { + const facade = document.getElementById('yt-facade'); + if (!facade) return; + function loadEmbed() { + const id = facade.dataset.id; + const iframe = document.createElement('iframe'); + iframe.src = 'https://www.youtube-nocookie.com/embed/' + id + '?autoplay=1'; + iframe.title = 'YouTube video player'; + iframe.allow = 'accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share'; + iframe.allowFullscreen = true; + iframe.className = 'absolute inset-0 w-full h-full'; + facade.innerHTML = ''; + facade.appendChild(iframe); + } + facade.addEventListener('click', loadEmbed); + facade.addEventListener('keydown', function (e) { + if (e.key === 'Enter' || e.key === ' ') { e.preventDefault(); loadEmbed(); } + }); + })(); {{ end }} \ No newline at end of file diff --git a/themes/powershell-community/layouts/podcast/list.html b/themes/powershell-community/layouts/podcast/list.html index 98c8e2691..489375682 100644 --- a/themes/powershell-community/layouts/podcast/list.html +++ b/themes/powershell-community/layouts/podcast/list.html @@ -33,9 +33,19 @@

{{ .Site.Params.podcast.title }}
+ {{ $title := .Title }} + {{ with .Params.youtube }} +
+ {{ $title }} +
+ {{ else }}
+ {{ end }}
From 477682f798267fd5248cfe3766a47229808de342 Mon Sep 17 00:00:00 2001 From: Gilbert Sanchez Date: Mon, 22 Jun 2026 17:21:52 -0700 Subject: [PATCH 2/4] feat(authors): add Andrew Pla and Jordan Hammond profiles 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 --- content/authors/andrew-pla/_index.md | 24 ++++++++++++++++++++++++ content/authors/jordan-hammond/_index.md | 9 +++++++++ 2 files changed, 33 insertions(+) create mode 100644 content/authors/andrew-pla/_index.md create mode 100644 content/authors/jordan-hammond/_index.md diff --git a/content/authors/andrew-pla/_index.md b/content/authors/andrew-pla/_index.md new file mode 100644 index 000000000..8898d97f9 --- /dev/null +++ b/content/authors/andrew-pla/_index.md @@ -0,0 +1,24 @@ +--- +title: "Andrew Pla" +tagline: "PowerShell MVP, podcast host, and Community Director of PowerShell Summit" +avatar: "https://andrewpla.tech/assets/avatar.jpg" +website: "https://andrewpla.tech" +github: "https://github.com/AndrewPla" +twitter: "https://x.com/AndrewPlaTech" +linkedin: "https://www.linkedin.com/in/andrewplatech/" +bluesky: "https://bsky.app/profile/andrewpla.tech" +--- + +I'm a technical educator and community builder. I'm a Microsoft PowerShell MVP, +podcast host, speaker, and Community Director of PowerShell Summit. I also work +at PDQ alongside sysadmins and IT pros every day. + +Community isn't just what I do. It's where I get my energy. I genuinely light up +when I see someone land a new job, level up a skill, or show up to their first +conference. I love sharing that passion with others. + +Every week I host a live podcast and stream on YouTube covering PowerShell, +automation, and the humans behind the keyboards. + +If you're on your IT journey and need someone in your corner, you're in the +right place. Find more at [andrewpla.tech/links](https://andrewpla.tech/links/). diff --git a/content/authors/jordan-hammond/_index.md b/content/authors/jordan-hammond/_index.md new file mode 100644 index 000000000..75579598d --- /dev/null +++ b/content/authors/jordan-hammond/_index.md @@ -0,0 +1,9 @@ +--- +title: "Jordan Hammond" +tagline: "Long-time co-host of The PowerShell Podcast" +avatar: "https://images.ctfassets.net/xwxknivhjv1b/7sjhXiVs1gPwwtWFuLipDM/0132aad1bd5c1727b2d488fde0548c66/JordanHammond.png" +linkedin: "https://www.linkedin.com/in/hammondjordan/" +--- + +Jordan Hammond was a long-time co-host of The PowerShell Podcast and a regular +host of the PDQ streams. From 7e319e76c4578fb12fdf3315f61291cfe4136686 Mon Sep 17 00:00:00 2001 From: Gilbert Sanchez Date: Mon, 22 Jun 2026 17:28:35 -0700 Subject: [PATCH 3/4] fix(podcast): make embed visible and show thumbnails on author pages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .../powershell-community/layouts/_default/single.html | 3 ++- .../powershell-community/layouts/taxonomy/author.html | 10 ++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/themes/powershell-community/layouts/_default/single.html b/themes/powershell-community/layouts/_default/single.html index 67358ce30..2a8ddec0c 100644 --- a/themes/powershell-community/layouts/_default/single.html +++ b/themes/powershell-community/layouts/_default/single.html @@ -105,7 +105,8 @@

Listen to this Episode

+ style="aspect-ratio: 16 / 9;" + class="relative rounded-xl overflow-hidden cursor-pointer group bg-black"> Watch this episode on YouTube{{ $display }}

+ {{ $title := .Title }} + {{ with .Params.youtube }} +
+ {{ $title }} +
+ {{ else }}
+ {{ end }}
From 79fbfd0d956cc7d629e380bda2bc6ad4c0bca546 Mon Sep 17 00:00:00 2001 From: Gilbert Sanchez Date: Mon, 22 Jun 2026 17:39:21 -0700 Subject: [PATCH 4/4] feat(authors): show author avatar in single-page byline 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 --- themes/powershell-community/layouts/_default/single.html | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/themes/powershell-community/layouts/_default/single.html b/themes/powershell-community/layouts/_default/single.html index 2a8ddec0c..a3725399c 100644 --- a/themes/powershell-community/layouts/_default/single.html +++ b/themes/powershell-community/layouts/_default/single.html @@ -49,12 +49,10 @@

{{ .
{{ with .Params.author }} + {{ $authorPage := site.GetPage (printf "/authors/%s" (. | urlize)) }}
-
- -
- {{ . }} + {{ partial "author-avatar.html" (dict "page" $authorPage "name" . "size" 64 "class" "w-8 h-8 rounded-full object-cover mr-3") }} + {{ . }}
{{ end }}