diff --git a/quartz/components/RecentNotes.tsx b/quartz/components/RecentNotes.tsx index 2c32feadf..c8e64cf91 100644 --- a/quartz/components/RecentNotes.tsx +++ b/quartz/components/RecentNotes.tsx @@ -33,7 +33,7 @@ export default ((userOpts?: Partial) => { cfg, }: QuartzComponentProps) => { const opts = { ...defaultOptions(cfg), ...userOpts } - const pages = allFiles.filter(opts.filter).sort(opts.sort) + const pages = allFiles.filter((page) => page.slug !== "index").filter(opts.filter).sort(opts.sort) const remaining = Math.max(0, pages.length - opts.limit) return (