mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-22 19:46:23 +00:00
fix: use joinSegments for contentIndex.json
file path (#702)
This commit is contained in:
parent
107d9b8dff
commit
e17ff20244
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
const simplifiedIndex = Object.fromEntries(
|
||||||
Array.from(linkIndex).map(([slug, content]) => {
|
Array.from(linkIndex).map(([slug, content]) => {
|
||||||
// remove description and from content index as nothing downstream
|
// remove description and from content index as nothing downstream
|
||||||
|
|
Loading…
Reference in a new issue