Ikko Eltociear Ashimine
2023-08-22 c60b3d5e3444e46587c1143dab784c53204070ae
quartz/plugins/transformers/links.ts
@@ -60,7 +60,8 @@
                    dest,
                    transformOptions,
                  )
                  const canonicalDest = path.posix.normalize(joinSegments(curSlug, dest))
                  const url = new URL(dest, `https://base.com/${curSlug}`)
                  const canonicalDest = url.pathname
                  const [destCanonical, _destAnchor] = splitAnchor(canonicalDest)
                  const simple = simplifySlug(destCanonical as FullSlug)
                  outgoing.add(simple)