This plugin parses the frontmatter of the page using the gray-matter library. See Syntax, 工业互联网 and MCU for more information.

Note

For information on how to add, remove or configure plugins, see the Configuration page.

This plugin accepts the following configuration options:

  • delimiters: the delimiters to use for the frontmatter. Can have one value (e.g. "---") or separate values for opening and closing delimiters (e.g. ["---", "~~~"]). Defaults to "---".
  • language: the language to use for parsing the frontmatter. Can be yaml (default) or toml.

Warning

This plugin must not be removed, otherwise Quartz will break.

List

Quartz supports the following frontmatter:

  • title
    • title
  • description
    • description
  • permalink
    • permalink
  • comments
    • comments
  • lang
    • lang
  • publish
    • publish
  • draft
    • draft
  • enableToc
    • enableToc
  • tags
    • tags
    • tag
  • aliases
    • aliases
    • alias
  • cssclasses
    • cssclasses
    • cssclass
  • socialDescription
    • socialDescription
  • socialImage
    • socialImage
    • image
    • cover
  • created
    • created
    • date
  • modified
    • modified
    • lastmod
    • updated
    • last-modified
  • published
    • published
    • publishDate
    • date

API