customFrontmatter

  • type: object[]
  • default: [] (empty list)
  • required: false

Description

Set custom frontmatter to be added to each published note in the hierarchy.

Note that this will override existing properties if they are already set in the note frontmatter with the same key.

Example

Add toc: true to all notes published under the iam.* hierarchy.

publishing:
  hierarchy:
    iam: # for all notes under the hierarchy `iam.*`
      customFrontmatter:
        - 
          key: toc # add custom frontmatter property `toc`
          value: true # and set it to `true`

Backlinks