forgot to add back allPosts here

This commit is contained in:
madrilene 2025-02-03 09:31:32 +01:00
parent 9c00927427
commit 4db37f9e00

View file

@ -47,7 +47,7 @@ blog:
<div class="feature | region region-space-l">
<custom-masonry layout="50-50">
<!-- loop posts -->
{% set itemList = collections.posts %}
{% set itemList = collections.allPosts %}
{% asyncEach item in itemList.slice(0, 4) %}
{% set definedDate = item.date %}
{% include "partials/card-blog.njk" %}