- install Git
- install GoLang
- install Dart Sass (optional):
brew install sass/sass/sass
- install hugo
brew install hugo
- generate new codebase for the blog
hugo new site LevArc --format yaml
git submodule add --depth=1 https://github.com/adityatelange/hugo-PaperMod.git themes/PaperMod
# execute when you reclone your repo
git submodule update --init --recursive
git submodule update --remote --merge
In hugo.yaml
add:
theme: ["PaperMod"]
Create post:
# create post from template: archetypes/post.md
hugo new --kind post <name>
hugo serve
# or execute with arguments:
hugo --buildDrafts # or -D
hugo --buildExpired # or -E
hugo --buildFuture # or -F