Jacky Zhao
2023-06-18 c4cf0dcb022ff826433b63b8ff68830bb8503895
quartz/path.ts
@@ -13,10 +13,6 @@
    cleanPath = cleanPath.slice(0, -"index".length)
  }
  if (cleanPath === "") {
    cleanPath = "./"
  }
  return cleanPath + anchor
}
@@ -36,7 +32,7 @@
export function resolveToRoot(slug: string): string {
  let fp = trimPathSuffix(slug)
  if (fp === "./") {
  if (fp === "") {
    return "."
  }