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. diff --git a/themes/powershell-community/layouts/_default/single.html b/themes/powershell-community/layouts/_default/single.html index 4ef364c5f..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 }} @@ -99,6 +97,28 @@

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 +217,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 }}
diff --git a/themes/powershell-community/layouts/taxonomy/author.html b/themes/powershell-community/layouts/taxonomy/author.html index cdc6f84cf..e73691099 100644 --- a/themes/powershell-community/layouts/taxonomy/author.html +++ b/themes/powershell-community/layouts/taxonomy/author.html @@ -69,9 +69,19 @@

{{ $display }}

+ {{ $title := .Title }} + {{ with .Params.youtube }} +
+ {{ $title }} +
+ {{ else }}
+ {{ end }}