quartz/path.ts @@ -27,6 +27,9 @@ // resolve /a/b/c to ../../ export function resolveToRoot(slug: string): string { let fp = trimPathSuffix(slug) if (fp.endsWith("index")) { fp = fp.slice(0, -"index".length) } if (fp === "") { return "."