Jacky Zhao
2023-08-17 2f6747b1666316e579c6e7238092ac6a65d00925
quartz/plugins/emitters/contentPage.tsx
@@ -4,7 +4,7 @@
import BodyConstructor from "../../components/Body"
import { pageResources, renderPage } from "../../components/renderPage"
import { FullPageLayout } from "../../cfg"
import { FilePath, canonicalizeServer } from "../../path"
import { FilePath, canonicalizeServer } from "../../util/path"
import { defaultContentPageLayout, sharedPageComponents } from "../../../quartz.layout"
import { Content } from "../../components"
@@ -42,9 +42,7 @@
        }
        const content = renderPage(slug, componentData, opts, externalResources)
        const fp = (file.data.slug + ".html") as FilePath
        await emit({
        const fp = await emit({
          content,
          slug: file.data.slug!,
          ext: ".html",