Skip to content

Commit

Permalink
remove weeknotes from home page
Browse files Browse the repository at this point in the history
  • Loading branch information
Westley-Winks committed Aug 18, 2024
1 parent 810fcc4 commit 59030e9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ import { getCollection } from "astro:content";
let posts = [];
const writingCollection = await getCollection("writing");
const writingCollection = await getCollection("writing", ({ slug }) => {
return !slug.startsWith("weeknotes");
});
const booksCollection = await getCollection("books");
const peaceCorpsCollection = await getCollection("peace-corps");
posts.push(...writingCollection);
Expand Down

0 comments on commit 59030e9

Please sign in to comment.