FrontmatterConfig #

How the site checks page frontmatter.

Fields #

schemaoptionalFrontmatterSchema

Rules for the site's own frontmatter keys, checked next to the rules of the theme and plugins.

leveloptional'error' | 'warn'

error fails kawapress build when a page breaks a rule, warn only prints the report. kawapress dev always warns. Defaults to error.

Full type signature
TypeScript
interface FrontmatterConfig {
  schema?: FrontmatterSchema
  level?: 'error' | 'warn'
}

Edit this page

Comments