Interface: PageFrontmatter

Properties

title

optional

title: string

description

optional

description: string

layout

optional

layout: "doc" | "home" | "page"

sidebar

optional

sidebar: boolean

outline

optional

outline: number | boolean | [number, number]

editLink

optional

editLink: boolean

lastUpdated

optional

lastUpdated: boolean

prev

optional

prev: string | false | { text: string; link: string }

next

optional

next: string | false | { text: string; link: string }

hero

optional

hero: { name?: string; text?: string; tagline?: string; image?: string | { light: string; dark: string }; actions?: { text: string; link: string; theme?: "brand" | "alt" }[] }

features

optional

features: { icon?: string; title: string; details: string; link?: string; linkText?: string }[]

Source

config/types.ts


← PageData | PressConfig →