The config files that ship with Congo contain all of the possible settings that the theme recognises. By default, many of these are commented out but you can simply uncomment them to activate or change a specific feature.
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.
# config/_default/config.toml
+The config files that ship with Congo contain all of the possible settings that the theme recognises. By default, many of these are commented out but you can simply uncomment them to activate or change a specific feature.
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.
# config/_default/config.toml
baseURL = "https://your_domain.com"
languageCode = "en"
@@ -66,11 +66,11 @@
[[footer]]
name = "Privacy"
url = "https://external-link"
-
The name
parameter specifies the text that is used in the menu link. You can also optionally provide a title
which fills the HTML title attribute for the link.
The pageRef
parameter allows you to easily reference Hugo content pages and taxonomies. It is the quickest way to configure the menu as you can simply refer to any Hugo content item and it will automatically build the correct link. To link to external URLs, the url
parameter can be used.
Menu links will be sorted from lowest to highest weight
, and then alphabetically by name
.
Both menus are completely optional and can be commented out if not required. Use the template provided in the file as a guide.
Detailed configuration #
The steps above are the bare minimum configuration. If you now run hugo server
you will be presented with a blank Congo website. Detailed configuration is covered in the Configuration section.