Configuring site
Configuring site
This step is how to start to customise you site, and make it feel more your own. The main source of configuration in hugo is the config.toml file. We have already edited this file when we added our chosed theme.
- The basic config.toml lives in the root directory of our site (c:\hugo\sites\example.com)
- Open the config.toml file in a text editor.
- There should be 4 entires in the base config, these are:
Key | Value | Explanation |
---|---|---|
baseURL | http://example.org/ | This is the URL where your site will be hosted |
languageCode | en-us | This is the sites languare code. Can be changed to your local code |
title | My New Hugo Site | The title of the site (it appears on the home page and in the tab title |
theme | ananke | The theme in use to style the page. |
- Changing the “title” option is probably all that is required at this stage.
For more information, check out: