🚚 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
@@ -16,10 +16,10 @@ The config files that ship with Congo contain all of the possible settings that
## Basic configuration
Before creating any content, there are a few things you should set for a new installation. Starting in the `config.toml` file, set the `baseURL` and `languageCode` parameters. The `languageCode` should be set to the main language that you will be using to author your content.
Before creating any content, there are a few things you should set for a new installation. Starting in the `hugo.toml` file, set the `baseURL` and `languageCode` parameters. The `languageCode` should be set to the main language that you will be using to author your content.
```toml
# config/_default/config.toml
# config/_default/hugo.toml
baseURL = "https://your_domain.com/"
languageCode = "en"
@@ -30,7 +30,7 @@ The next step is to configure the language settings. Although Congo supports mul
Locate the `languages.en.toml` file in the config folder. If your main language is English you can use this file as is. Otherwise, rename it so that it includes the correct language code in the filename. For example, for French, rename the file to `languages.fr.toml`.
{{< alert >}}
The language code in the language config filename should match the `languageCode` setting in `config.toml`.
The language code in the language config filename should match the `languageCode` setting in `hugo.toml`.
{{< /alert >}}
```toml