mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-27 23:04:05 -06:00
fix(404): update layout based on grid refactoring
update a regression given that our 404 pages would display weird layout, given that `left` and `right` are empty
This commit is contained in:
parent
0ad9111388
commit
0e53f3bee2
@ -5,7 +5,7 @@ import { pageResources, renderPage } from "../../components/renderPage"
|
||||
import { FullPageLayout } from "../../cfg"
|
||||
import { FilePath, FullSlug } from "../../util/path"
|
||||
import { sharedPageComponents } from "../../../quartz.layout"
|
||||
import { NotFound } from "../../components"
|
||||
import { NotFound, Spacer } from "../../components"
|
||||
import { defaultProcessedContent } from "../vfile"
|
||||
import { write } from "./helpers"
|
||||
import { i18n } from "../../i18n"
|
||||
@ -16,8 +16,8 @@ export const NotFoundPage: QuartzEmitterPlugin = () => {
|
||||
...sharedPageComponents,
|
||||
pageBody: NotFound(),
|
||||
beforeBody: [],
|
||||
left: [],
|
||||
right: [],
|
||||
left: [Spacer()],
|
||||
right: [Spacer()],
|
||||
}
|
||||
|
||||
const { head: Head, pageBody, footer: Footer } = opts
|
||||
|
||||
Loading…
Reference in New Issue
Block a user