kabirgh
2024-01-16 e17ff202449635af29ef0056886e472a2615708b
fix: use joinSegments for `contentIndex.json` file path (#702)

1 files modified
2 ■■■ changed files
quartz/plugins/emitters/contentIndex.ts 2 ●●● patch | view | raw | blame | history
quartz/plugins/emitters/contentIndex.ts
@@ -133,7 +133,7 @@
        )
      }
      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