3.10 The hugo.toml / hugo.yaml / hugo.json Config File
Alright, let’s get our hands dirty with the file that tells Hugo how to behave: the configuration file. You’ll find this bad boy at the root of your project, named hugo.toml, hugo.yaml, or hugo.json. The format is your call; I’m a TOML person because it strikes a nice balance between being human-readable and not needing to care about indentation like YAML. Hugo doesn’t play favorites; it’ll use whichever one it finds first, in that order.