From f85545cfcc17e0dd1378486fb4dfb5d7e18c5188 Mon Sep 17 00:00:00 2001 From: Gilbert Sanchez Date: Tue, 23 Jun 2026 15:12:20 -0700 Subject: [PATCH 1/2] style(cards): plainify and truncate summaries for consistent card sizing Pipe .Summary through `plainify | truncate 300` on the homepage, default list, podcast list, and author page card grids so cards render uniform-length text regardless of source markup. Co-Authored-By: Claude Opus 4.8 --- themes/powershell-community/layouts/_default/list.html | 4 ++-- themes/powershell-community/layouts/index.html | 4 ++-- themes/powershell-community/layouts/podcast/list.html | 2 +- themes/powershell-community/layouts/taxonomy/author.html | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/themes/powershell-community/layouts/_default/list.html b/themes/powershell-community/layouts/_default/list.html index 888852e6d..56e368394 100644 --- a/themes/powershell-community/layouts/_default/list.html +++ b/themes/powershell-community/layouts/_default/list.html @@ -60,7 +60,7 @@

{{ .Title }}

-

{{ .Summary }}

+

{{ .Summary | plainify | truncate 300 }}

@@ -103,7 +103,7 @@

-

{{ .Summary }}

+

{{ .Summary | plainify | truncate 300 }}

{{ .Title }} -

{{ .Summary }}

+

{{ .Summary | plainify | truncate 300 }}

Listen Now @@ -211,7 +211,7 @@

{{ .Title }}

-

{{ .Summary }}

+

{{ .Summary | plainify | truncate 300 }}

{{ with .Params.author }}
diff --git a/themes/powershell-community/layouts/podcast/list.html b/themes/powershell-community/layouts/podcast/list.html index 910c1145d..9d31aa46e 100644 --- a/themes/powershell-community/layouts/podcast/list.html +++ b/themes/powershell-community/layouts/podcast/list.html @@ -62,7 +62,7 @@

{{ .Title }}

-

{{ .Summary }}

+

{{ .Summary | plainify | truncate 300 }}

diff --git a/themes/powershell-community/layouts/taxonomy/author.html b/themes/powershell-community/layouts/taxonomy/author.html index 4f0d3f3bb..d79f803a2 100644 --- a/themes/powershell-community/layouts/taxonomy/author.html +++ b/themes/powershell-community/layouts/taxonomy/author.html @@ -100,7 +100,7 @@

{{ .Title }}

-

{{ .Summary }}

+

{{ .Summary | plainify | truncate 300 }}