Create site “documentation”:
hugo new site documentation
Launch server (with autoreload) :
hugo server
http://localhost:1313
Install theme :
cd /themes
git clone https://github.com/matcornic/hugo-theme-learn.git
Activate new theme in config.toml
:
theme = "hugo-theme-learn"
Create chapter (contains post) static-website-generators
cd ..
hugo new --kind chapter static-website-generators/_index.md
Create post hugo
in chapter static-website-generators
:
hugo new static-website-generators/hugo.md
hugo
Build result in /public