fix: use joinSegments for contentIndex.json file path (#702)

This commit is contained in:
kabirgh
2024-01-16 16:24:01 +00:00
committed by GitHub
parent 82a57ed1f4
commit 14cb5d7152

View File

@@ -133,7 +133,7 @@ export const ContentIndex: QuartzEmitterPlugin<Partial<Options>> = (opts) => {
)
}
const fp = path.join("static", "contentIndex") as FullSlug
const fp = joinSegments("static", "contentIndex") as FullSlug
const simplifiedIndex = Object.fromEntries(
Array.from(linkIndex).map(([slug, content]) => {
// remove description and from content index as nothing downstream