diff --git a/website/src/components/BlogFeed.astro b/website/src/components/BlogFeed.astro index f0c34e7..af72db4 100644 --- a/website/src/components/BlogFeed.astro +++ b/website/src/components/BlogFeed.astro @@ -9,7 +9,7 @@ export interface Props { const { headingLevel = 2, hideAuthor = false } = Astro.props; -const posts = (await getCollection('blog')); +const posts = (await getCollection('blog')).filter((post) => !post.data.hidden); const distinctYears: number[] = posts .map(post => post.data.pubDate.year) diff --git a/website/src/components/LinksFeed.astro b/website/src/components/LinksFeed.astro index a428395..4ca8dbd 100644 --- a/website/src/components/LinksFeed.astro +++ b/website/src/components/LinksFeed.astro @@ -67,8 +67,8 @@ const canonicalLinksUrl = new URL('links', Astro.site)