style: apply prettier corrections

This commit is contained in:
Tony 2025-03-08 12:41:19 +10:30
parent 5db049e856
commit 14c11fc35f
2 changed files with 7 additions and 3 deletions

View File

@ -38,7 +38,7 @@ export const defaultContentPageLayout: PageLayout = {
// components for the index page
export const indexContentPageLayout: PageLayout = {
...defaultContentPageLayout
...defaultContentPageLayout,
}
// components for pages that display lists of pages (e.g. tags or folders)

View File

@ -10,7 +10,11 @@ import { pageResources, renderPage } from "../../components/renderPage"
import { FullPageLayout } from "../../cfg"
import { Argv } from "../../util/ctx"
import { FilePath, isRelativeURL, joinSegments, pathToRoot } from "../../util/path"
import { defaultContentPageLayout, indexContentPageLayout, sharedPageComponents } from "../../../quartz.layout"
import {
defaultContentPageLayout,
indexContentPageLayout,
sharedPageComponents,
} from "../../../quartz.layout"
import { Content } from "../../components"
import chalk from "chalk"
import { write } from "./helpers"
@ -109,7 +113,7 @@ export const ContentPage: QuartzEmitterPlugin<Partial<FullPageLayout>> = (userOp
...indexContentPageLayout,
pageBody: Content(),
...userOpts,
}
}
}
const externalResources = pageResources(pathToRoot(slug), file.data, resources)