fix relative path resolution in router and link crawling

This commit is contained in:
Jacky Zhao 2023-08-16 22:04:15 -07:00
parent 232652149a
commit 2f6747b166
44 changed files with 160 additions and 106 deletions
quartz/components

View file

@ -2,8 +2,8 @@ import { render } from "preact-render-to-string"
import { QuartzComponent, QuartzComponentProps } from "./types"
import HeaderConstructor from "./Header"
import BodyConstructor from "./Body"
import { JSResourceToScriptElement, StaticResources } from "../resources"
import { CanonicalSlug, pathToRoot } from "../path"
import { JSResourceToScriptElement, StaticResources } from "../util/resources"
import { CanonicalSlug, pathToRoot } from "../util/path"
interface RenderComponents {
head: QuartzComponent