After selecting your Hugo theme, it’s time to make it your own. In this section, we’ll guide you through customising the theme to better represent your site.
For our particular theme, we began by adding a new homepage image (located under /static/images/
). Next, we modified the config.toml
file to update the title and point to the new homepage image. You can also change the logo image for the site (found under /static/images/
) and update the default menus.
baseURL = "/"
title = "statistical bias"
[params]
homepage_intro = 'The logo image can be found here https://www.flickr.com/photos/peterrosbjerg/4257452000 and it is licensed under https://creativecommons.org/licenses/by-nd/2.0/'
homepage_image = '/images/math.jpg'
The markup documents for the website reside under /content
, where you’ll update and create new posts. This theme has a file named _index.md
, which serves as the intro homepage. The _index.md
file under /content/docs/
contains markup for the main list of documents. Any files placed under /content/docs/
will be rendered as entries for the website.
To complete the customisation process, modify the two index files and remove the example markup documents located under /content/docs/
. With these changes, your site will be tailored to your unique preferences and ready to make a splash in the digital realm.