FrontmatterSchema #

Rules for the frontmatter of every page: a Zod object, or a schema from another Standard Schema library such as Valibot or ArkType.

TypeScript
type FrontmatterSchema = StandardSchemaV1

Notes #

Keys a schema does not mention stay allowed, so several plugins and the site can each describe their own keys.

Edit this page

Comments