From 44a33c0028059c7543b26e5a13e68f90072d51a4 Mon Sep 17 00:00:00 2001 From: svemagie <869694+svemagie@users.noreply.github.com> Date: Fri, 27 Mar 2026 19:27:25 +0100 Subject: [PATCH] fix: sidenotes only appended to article body, not sidebar cards Step 3b was matching all div.e-content on the page, including sidebar component cards (prose-sm). Added prose-lg guard so asides are only inserted into the article body's e-content. Co-Authored-By: Claude Sonnet 4.6 --- eleventy.config.js | 53 +++++++++++++++++++++++++++++----------------- 1 file changed, 34 insertions(+), 19 deletions(-) diff --git a/eleventy.config.js b/eleventy.config.js index 513ebc9..4516d9b 100644 --- a/eleventy.config.js +++ b/eleventy.config.js @@ -525,10 +525,15 @@ export default function (eleventyConfig) { return node; }); - // 2. Track whether any sidenotes were injected + // 2. Track sidenotes and collect aside nodes for later insertion into .e-content. + // Putting