Hugo Choose a theme
August 10, 2021
Choose a theme (simple)
you can download the archive of the latest version of this theme from: https://github.com/theNewDynamic/gohugo-theme-ananke/archive/master.zip
Extract that .zip file to get a “gohugo-theme-ananke-master” directory.
Rename that directory to “ananke”, and move it into the “themes/” directory.
Change config.toml to add theme = “ananke”
Choose a theme (if git installed)
Go to https://themes.gohugo.io/
Choose a theme
Chose “download” on theme
In your Hugo site themes directory, run:
“git clone https://github.com/vimux/mainroad"
Or, if you don’t plan to make any significant changes, but want to track and update the theme, you can add it as a git submodule via the following command:
git submodule add https://github.com/vimux/mainroad
Next, open config.toml in the base of the Hugo site and ensure the theme option is set to mainroad:
theme = “mainroad”