Congo supports several installation methods - as a Hugo Module (easiest), a git submodule, or as a completely manual install.
Detailed instructions for each method can be found in the Installation docs. You should consult the documentation for the simplest setup experience. Below is a quick start guide using Hugo modules if you’re already confident installing Hugo themes.
Quick start using Hugo
Note: Ensure you have Go and Hugo installed, and that you have created a new Hugo project before proceeding.
From your project directory, initialise Hugo Modules:
hugo mod init github.com/<username>/<repo-name>
Create config/_default/module.toml and add the following:
path = "github.com/jpanther/congo/v2"
Start your server using hugo server and the theme will be downloaded automatically.
In the root folder of your website, delete the config.toml file that was generated by Hugo. Copy the *.toml config files from the theme into your config/_default/ folder.
Note: Do not overwrite the module.toml file you created above!
You will find these theme config files in the Hugo cache directory, or download a copy from GitHub.