mirror of
https://github.com/alrayyes/wiki.git
synced 2025-05-23 08:09:02 +00:00
fix relative path resolution in router and link crawling
This commit is contained in:
parent
232652149a
commit
2f6747b166
44 changed files with 160 additions and 106 deletions
quartz/components
|
@ -1,6 +1,6 @@
|
|||
import { QuartzComponentConstructor, QuartzComponentProps } from "./types"
|
||||
import style from "./styles/backlinks.scss"
|
||||
import { canonicalizeServer, resolveRelative } from "../path"
|
||||
import { canonicalizeServer, resolveRelative } from "../util/path"
|
||||
|
||||
function Backlinks({ fileData, allFiles }: QuartzComponentProps) {
|
||||
const slug = canonicalizeServer(fileData.slug!)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue