From 479eca6fe85b64059e3112972b64f6672f697ca4 Mon Sep 17 00:00:00 2001 From: svemagie <869694+svemagie@users.noreply.github.com> Date: Thu, 12 Mar 2026 12:01:13 +0100 Subject: [PATCH] Revert "fix: pass collections context to homepage Recent Posts section for correct rendering" This reverts commit d03ec5bd8659d3a71a72f377564327b60fc2137f. --- _includes/components/homepage-section.njk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_includes/components/homepage-section.njk b/_includes/components/homepage-section.njk index 3af4808..b13070c 100644 --- a/_includes/components/homepage-section.njk +++ b/_includes/components/homepage-section.njk @@ -1,8 +1,8 @@ {# Homepage Section Dispatcher — maps section.type to the right partial #} {% if section.type == "featured-posts" %} - {% include "components/sections/featured-posts.njk" with { collections: collections } %} + {% include "components/sections/featured-posts.njk" %} {% elif section.type == "recent-posts" %} - {% include "components/sections/recent-posts.njk" with { collections: collections } %} + {% include "components/sections/recent-posts.njk" %} {% elif section.type == "custom-html" %} {% include "components/sections/custom-html.njk" %} {% elif section.type == "cv-experience" %}