🚚 Rename config.toml to hugo.toml

This commit is contained in:
James Panther
2025-02-24 12:51:53 +11:00
parent aeaae3c1bc
commit 7f912a50de
10 changed files with 32 additions and 34 deletions
@@ -97,7 +97,7 @@ Then continue to [set up the theme configuration files](#set-up-theme-configurat
### Set up theme configuration files
In the root folder of your website, delete the `hugo.toml` (or `config.toml`) file that was generated by Hugo. Copy the `*.toml` config files from the theme into your `config/_default/` folder. This will ensure you have all the correct theme settings and will enable you to easily customise the theme to your needs.
In the root folder of your website, delete the `hugo.toml` file that was generated by Hugo. Copy the `*.toml` config files from the theme into your `config/_default/` folder. This will ensure you have all the correct theme settings and will enable you to easily customise the theme to your needs.
{{< alert >}}
**Note:** You should not overwrite the `module.toml` file if one already exists in your project!
@@ -112,7 +112,7 @@ Once you've copied the files, your config folder should look like this:
```shell
config/_default/
├─ config.toml
├─ hugo.toml
├─ markup.toml
├─ menus.toml
├─ module.toml # if you installed using Hugo Modules
@@ -120,7 +120,7 @@ config/_default/
```
{{< alert >}}
**Important:** If you didn't use Hugo Modules to install Congo, you must add the line `theme = "congo"` to the top of your `config.toml` file.
**Important:** If you didn't use Hugo Modules to install Congo, you must add the line `theme = "congo"` to the top of your `hugo.toml` file.
{{< /alert >}}
### Next steps