-
Install Hugo (and if necessary Git, Go and Dart Sass): follow instructions in https://gohugo.io/installation.
-
Start Hugo project and create folder structure
hugo new site quickstart
- Navigate into the project
cd quickstart
- Initiate submodule and add theme
git init
git submodule add https://github.com/matcornic/hugo-theme-learn.git themes/learn
- Add the theme to the config:
echo "theme = 'learn'" >> hugo.toml
- Copy all the files from exampleSite
cp -R themes/learn/exampleSite/* ./
- Build the web site
hugo serve