From f827cce8d836b77940ac39aa28a42d3a2824e9b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Wed, 18 Jan 2023 09:27:46 +0100 Subject: [PATCH] Update configuration.md --- content/en/getting-started/configuration.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/content/en/getting-started/configuration.md b/content/en/getting-started/configuration.md index 3c9b42678..5a79f80dd 100644 --- a/content/en/getting-started/configuration.md +++ b/content/en/getting-started/configuration.md @@ -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.