Jacky Zhao
2023-08-17 58d9dc0528cc5d7232ac7a237c98213ff1075f39
quartz/util/path.ts
@@ -133,7 +133,7 @@
    slug = slug.replace(/_index$/, "index")
  }
  return slug + ext as ServerSlug
  return (slug + ext) as ServerSlug
}
export function transformInternalLink(link: string): RelativeURL {
@@ -239,7 +239,7 @@
    }
    // if it's not unique, then it's the absolute path from the vault root
    return joinSegments(pathToRoot(src), canonicalSlug) + folderTail as RelativeURL
    return (joinSegments(pathToRoot(src), canonicalSlug) + folderTail) as RelativeURL
  }
}