Revert "fix: pass collections context to homepage Recent Posts section for correct rendering"

This reverts commit d03ec5bd86.
This commit is contained in:
svemagie
2026-03-12 12:01:13 +01:00
parent ec944a874d
commit 479eca6fe8
+2 -2
View File
@@ -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" %}