Revert "fix: pass collections context to homepage Recent Posts section for correct rendering"
This reverts commit d03ec5bd86.
This commit is contained in:
@@ -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" %}
|
||||
|
||||
Reference in New Issue
Block a user