diff --git a/src/pages/index.astro b/src/pages/index.astro index 50e928f9c..66de80a4d 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -13,6 +13,9 @@ import Socials from "@components/Socials.astro"; const posts = await Astro.glob("../contents/**/*.md"); const sortedPosts = getSortedPosts(posts); +const featuredPosts = sortedPosts.filter( + ({ frontmatter }) => frontmatter.featured +); --- @@ -59,25 +62,25 @@ const sortedPosts = getSortedPosts(posts);
- +
+ + ) + }

Recent Posts