Open navClose nav

How to use YAML or JSON for Front Matter with Hugo?

Forestry respects the configuration set in your config file. The variable you have to set to change the default Front Matter format is called metaDataFormat.

## Possible options "yaml", "toml" or "json"
metaDataFormat = "toml"
## Possible options "yaml", "toml" or "json"
metaDataFormat: "yaml"
tomlyaml

Last updated on January 15, 2019