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 = StandardSchemaV1Notes #
Keys a schema does not mention stay allowed, so several plugins and the site can each describe their own keys.


Comments