2. Configuring hugo.toml
18 Feb 2023
Let’s look at the site files, starting with hugo.toml. This is the site configuration file. It contains 3 main types of settings:
- Hugo settings for your site - which theme you’re using, markdown settings, etc.
- Basic site info - your site title, name, copyright, etc.
- Theme settings - These will vary depending on the theme. Most themes provide an example hugo.toml with the settings listed.
I’ve elected to keep the hugo-zones configuration simple; it makes the site simpler and easier to tinker with. These are the main settings you’ll want to change:
- Site title
- Theme - you can select from a list of Zonelets themes to apply to your site.
Favicon
While we’re adding the site title, let’s also add the favicon. The favicon lives at /static/favicon.ico
. Just replace the file with your favicon and it should work!