Config == toml, frontmatter == yaml?

Greetings. Hugo 0.50 here. Can anyone tell me why my defualt configuration file style is toml, but all my 'hugo new aaa/bbb.md posts are in yaml format?

I’d very much like to not have to deal with two formats.

TIA for any help,
Jim B.

You can make config file and content front matter both TOML, or both YAML.

To update which format new content files are made with, see hugo docs on archetypes

1 Like

Thanks for the quick reply. Solved. A newbie moves ahead one square.

–Jim B.

Also, when creating a new site, you can specify the format for config file and content front matter. For example:

hugo new site your-site --format "yaml"
2 Likes