diff --git a/src/pages/index.astro b/src/pages/index.astro index bc752611f..82b74bc09 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -14,6 +14,7 @@ const posts = await getCollection("blog"); const sortedPosts = getSortedPosts(posts); const featuredPosts = sortedPosts.filter(({ data }) => data.featured); +const recentPosts = sortedPosts.filter(({ data }) => !data.featured); const socialCount = SOCIALS.filter(social => social.active).length; --- @@ -83,18 +84,17 @@ const socialCount = SOCIALS.filter(social => social.active).length; ))} -