mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-07-22 03:00:29 +00:00
Merge 1a3fd7ec63 into 9cf87ff1c2
This commit is contained in:
commit
eb4ddc50db
3 changed files with 3 additions and 2 deletions
|
|
@ -740,6 +740,7 @@ function buildLayoutForEntries(
|
|||
groupOptions?: PluginLayoutDeclaration["groupOptions"]
|
||||
}[]
|
||||
> = {
|
||||
header: [],
|
||||
left: [],
|
||||
right: [],
|
||||
beforeBody: [],
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import { BuildCtx } from "../../util/ctx"
|
|||
|
||||
export type PluginCategory = "transformer" | "filter" | "emitter" | "pageType" | "component"
|
||||
|
||||
export type LayoutPosition = "left" | "right" | "beforeBody" | "afterBody"
|
||||
export type LayoutPosition = "header" | "left" | "right" | "beforeBody" | "afterBody"
|
||||
|
||||
export type LayoutDisplay = "all" | "mobile-only" | "desktop-only"
|
||||
|
||||
|
|
|
|||
|
|
@ -238,7 +238,7 @@
|
|||
"properties": {
|
||||
"position": {
|
||||
"type": "string",
|
||||
"enum": ["left", "right", "beforeBody", "afterBody", "body"],
|
||||
"enum": ["header", "left", "right", "beforeBody", "afterBody", "body"],
|
||||
"description": "Layout position"
|
||||
},
|
||||
"priority": {
|
||||
|
|
|
|||
Loading…
Reference in a new issue