diff --git a/quartz/util/path.ts b/quartz/util/path.ts index 29481d738..c1e502339 100644 --- a/quartz/util/path.ts +++ b/quartz/util/path.ts @@ -238,7 +238,7 @@ export function transformLink(src: FullSlug, target: string, opts: TransformOpti if (opts.strategy === "shortest") { // if the file name is unique, then it's just the filename - const normalizedTarget = targetCanonical.normalize("NFC") + const normalizedTarget = targetCanonical.normalize("NFC") const matchingFileNames = opts.allSlugs.filter((slug) => { const parts = slug.split("/") const fileName = parts.at(-1)