YAML and TOML Starting Point Configurations


I’m fairly new to Hugo, YAML, TOML, etc. Can someone provide a good starting point configuration? I see some documentation here for Google Analytics using YAML, but I’m not sure if the format is the same for TOML.

I’m using the Kaldi Netlify CMS template, and it uses a mixture of TOML and YAML for configuration and Front Matter as well. It’s a little confusing (the two technologies) and where to learn their syntax and features.

One other thing I’d like to do is remove /post from URLs.

Thanks for any help!

Hugo supports TOML, YAML and I think JSON for config files. Pick one you like and use it. For examples of what goes in the config http://gohugo.io/overview/configuration/

1 Like

Do you know if it’s possible to configure cleaner URLs? I’m trying to avoid having /post in the blog. Thanks.

I’d start a new topic. But look at the docs you can configure slugs in the configuration file. But your file names should suffice

I have it figured out. The section I needed was here. Thanks!

I’ve made a point of adding files and links to the specs themselves in the new docs. This might help if you want to get a bit more granular. FWIW, I can see why Netlify went with YAML in FM, since YAML+MD seems to be the de facto combination for most static site generators…



1 Like

I chose yaml because Pandoc supports it.