From 53602442c0508fb1171903257d21bf9eb0b055bb Mon Sep 17 00:00:00 2001 From: bfahrenfort Date: Mon, 17 Mar 2025 13:11:09 -0500 Subject: [PATCH] fix(contentIndex): explorer compat --- quartz/plugins/emitters/contentIndex.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/quartz/plugins/emitters/contentIndex.tsx b/quartz/plugins/emitters/contentIndex.tsx index 4d1fab11b..39c9cbcce 100644 --- a/quartz/plugins/emitters/contentIndex.tsx +++ b/quartz/plugins/emitters/contentIndex.tsx @@ -13,7 +13,7 @@ import { ProcessedContent } from "../vfile" type ContentIndex = Tree export type ContentDetails = { - slug?: FullSlug + slug: FullSlug filePath: FilePath title: string links: SimpleSlug[] @@ -246,9 +246,7 @@ export const ContentIndex: QuartzEmitterPlugin> = (opts) => { delete content.date delete content.noRSS - var slug = content.slug - delete content.slug - return [slug, content] + return [content.slug, content] }), ) emitted.push(