- Go to https://www.toptal.com/developers/gitignore/ and generate a file for
- macOS
- VisualStudioCode
- Hugo
- Re-open the folder in a container
- Select
Golang
- Select the latest version
1.20
- Add
Hugo
feature - Keep default
- Select
hugo new site blog
cd blog
hugo mod init github.com/clement-fouque/blog
# Create the new config file
code config/_default/module.toml
Add the following content to the newly created file module.toml
[[imports]]
path = "github.com/jpanther/congo/v2"
To have the source code close to our project, we can add it as a submodule git submodule add https://github.com/jpanther/congo.git themes/congo
Copy all config/_default/*.toml
files from the source theme and past it into config/_default/
. Do not erase module.toml
file that we created before.
Refer to the documentation https://jpanther.github.io/congo/docs/configuration/