mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-24 21:34:06 -06:00
style: apply prettier corrections
This commit is contained in:
parent
5db049e856
commit
14c11fc35f
@ -38,7 +38,7 @@ export const defaultContentPageLayout: PageLayout = {
|
|||||||
|
|
||||||
// components for the index page
|
// components for the index page
|
||||||
export const indexContentPageLayout: PageLayout = {
|
export const indexContentPageLayout: PageLayout = {
|
||||||
...defaultContentPageLayout
|
...defaultContentPageLayout,
|
||||||
}
|
}
|
||||||
|
|
||||||
// components for pages that display lists of pages (e.g. tags or folders)
|
// components for pages that display lists of pages (e.g. tags or folders)
|
||||||
|
|||||||
@ -10,7 +10,11 @@ import { pageResources, renderPage } from "../../components/renderPage"
|
|||||||
import { FullPageLayout } from "../../cfg"
|
import { FullPageLayout } from "../../cfg"
|
||||||
import { Argv } from "../../util/ctx"
|
import { Argv } from "../../util/ctx"
|
||||||
import { FilePath, isRelativeURL, joinSegments, pathToRoot } from "../../util/path"
|
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 { Content } from "../../components"
|
||||||
import chalk from "chalk"
|
import chalk from "chalk"
|
||||||
import { write } from "./helpers"
|
import { write } from "./helpers"
|
||||||
@ -109,7 +113,7 @@ export const ContentPage: QuartzEmitterPlugin<Partial<FullPageLayout>> = (userOp
|
|||||||
...indexContentPageLayout,
|
...indexContentPageLayout,
|
||||||
pageBody: Content(),
|
pageBody: Content(),
|
||||||
...userOpts,
|
...userOpts,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const externalResources = pageResources(pathToRoot(slug), file.data, resources)
|
const externalResources = pageResources(pathToRoot(slug), file.data, resources)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user