diff --git a/apps/www/src/pages/index.astro b/apps/www/src/pages/index.astro index 600a755..068aeb6 100644 --- a/apps/www/src/pages/index.astro +++ b/apps/www/src/pages/index.astro @@ -24,7 +24,7 @@ interface TxtConfig { pinned?: string[]; } -const posts = await getCollection('posts'); +const posts = await getCollection('posts', ({ data }) => data.draft !== true); // Group by category (default: "posts") const grouped = posts.reduce((acc, post) => {