Skip to content

clement-fouque/blog

Repository files navigation

blog

Setup

Prepration

  1. Go to https://www.toptal.com/developers/gitignore/ and generate a file for
    1. macOS
    2. VisualStudioCode
    3. Hugo
  2. Re-open the folder in a container
    1. Select Golang
    2. Select the latest version 1.20
    3. Add Hugo feature
    4. Keep default

Create the website

hugo new site blog

Set up theme

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.

Basic configuration

Refer to the documentation https://jpanther.github.io/congo/docs/configuration/