From d03ec5bd8659d3a71a72f377564327b60fc2137f Mon Sep 17 00:00:00 2001 From: svemagie <869694+svemagie@users.noreply.github.com> Date: Thu, 12 Mar 2026 11:45:34 +0100 Subject: [PATCH] fix: pass collections context to homepage Recent Posts section for correct rendering --- _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 b13070c..3af4808 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" %} + {% include "components/sections/featured-posts.njk" with { collections: collections } %} {% elif section.type == "recent-posts" %} - {% include "components/sections/recent-posts.njk" %} + {% include "components/sections/recent-posts.njk" with { collections: collections } %} {% elif section.type == "custom-html" %} {% include "components/sections/custom-html.njk" %} {% elif section.type == "cv-experience" %}