mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-27 00:38:53 +00:00
Update configuration.md
This commit is contained in:
committed by
GitHub
parent
3d72ed8fb8
commit
f827cce8d8
@@ -37,6 +37,12 @@ Multiple site config files can be specified as a comma-separated string to the `
|
||||
|
||||
{{< todo >}}TODO: distinct config.toml and others (the root object files){{< /todo >}}
|
||||
|
||||
## hugo.toml vs config.toml
|
||||
|
||||
In Hugo 0.110.0 we changed the default config base filename to `hugo`, e.g. `hugo.toml`. We will still look for `config.toml` etc., but we recommend you eventuall rename it (but you need to wait if you want to support older Hugo versions). The main reason we're doing this is to make it easier code editors and build tools to identify this as a Hugo configuration file and project.
|
||||
|
||||
{{new-in "0.110.0" }}
|
||||
|
||||
## Configuration Directory
|
||||
|
||||
In addition to using a single site config file, one can use the `configDir` directory (default to `config/`) to maintain easier organization and environment specific settings.
|
||||
|
||||
Reference in New Issue
Block a user