From 47913786730cb76f31fd3d583b031483021c96db Mon Sep 17 00:00:00 2001 From: Ben Dichter Date: Fri, 8 May 2026 15:01:13 -0400 Subject: [PATCH 1/2] Embed Mailchimp campaigns in newsletter posts and fix sidebar thumbs - Render an iframe for any news post that sets ext_link, so the Mailchimp campaign archive shows inline on the post page (with an "Open original" link below). Replaces the previous "See post here" link-only treatment so all existing newsletter posts now display their content directly. - Switch the sidebar "Recent News" thumbnails from a fixed 90x70 attribute size to a 120x75 box with object-fit: cover, so wide banner images crop instead of getting squished. Co-Authored-By: Claude Opus 4.7 (1M context) --- layouts/news/list.html | 6 ++++-- layouts/news/single.html | 20 +++++++++++++++----- 2 files changed, 19 insertions(+), 7 deletions(-) diff --git a/layouts/news/list.html b/layouts/news/list.html index beb9296..3a360b4 100644 --- a/layouts/news/list.html +++ b/layouts/news/list.html @@ -118,8 +118,10 @@

Recent News

-
- +
+
diff --git a/layouts/news/single.html b/layouts/news/single.html index 455e2b4..13720bd 100644 --- a/layouts/news/single.html +++ b/layouts/news/single.html @@ -61,8 +61,17 @@

{{ .Title | markdownify }}

{{ with .Params.ext_link }} -
- See post here + {{ end }}
@@ -137,9 +146,10 @@

Recent News

-
- +
+
From 275db12cb74e040a7a82bb166bcfa798ffe2375c Mon Sep 17 00:00:00 2001 From: Ben Dichter Date: Fri, 8 May 2026 15:05:23 -0400 Subject: [PATCH 2/2] Widen news post content column from 8/4 to 9/3 split Gives the embedded Mailchimp iframe enough horizontal room that its content doesn't require a left/right scroll. Sidebar (Recent News + Archives) still fits at col-lg-3 since the thumbnails were already sized down to 120x75. Co-Authored-By: Claude Opus 4.7 (1M context) --- layouts/news/single.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/layouts/news/single.html b/layouts/news/single.html index 13720bd..a78ef60 100644 --- a/layouts/news/single.html +++ b/layouts/news/single.html @@ -15,10 +15,10 @@

{{ . | markdownify }}
-
+

{{ .Title | markdownify }}

-
+
-
+
@@ -138,7 +138,7 @@

{{ .Title }}

-
+

Recent News

{{ $pages := where .Site.RegularPages "Section" "news" }}