diff --git a/src/pages/blog/index.astro b/src/pages/blog/index.astro index 3200942..1ae8937 100644 --- a/src/pages/blog/index.astro +++ b/src/pages/blog/index.astro @@ -16,9 +16,9 @@ const allPosts = (await getCollection('blog')).sort( const featuredPost = allPosts.find((post) => post.data.featured) || allPosts[0]; // Editor's picks: next 3 posts after featured (excluding the featured one) -const editorPicks = allPosts - .filter((post) => post.id !== featuredPost?.id) - .slice(0, 3); +//const editorPicks = allPosts +// .filter((post) => post.id !== featuredPost?.id) +// .slice(0, 3); // Latest posts: all posts for the filterable grid const latestPosts = allPosts; @@ -163,38 +163,6 @@ const categories = [...new Set(allPosts.map((post) => post.data.category).filter )} - - {editorPicks.length > 0 && ( -
-
- - /// EDITOR'S PICKS - - -
- -
- {editorPicks.map((post, index) => ( -
- -
- ))} -
-
- )} - - -
-