Make sure you install add-ons
Modified from here
Create directory Structure
hugo new site --format=yaml foldername
cd foldername
Initialize git
repository and add theme
Might I suggest using this forked version of the “liva” theme? It has some nice enhancements
git init
git submodule add https://github.com/danb0b/external_liva-hugo.git themes/liva-hugo
# or
git submodule add https://github.com/danb0b/website_hugo_framework.git themes/website_hugo_framework
# or
git submodule add https://github.com/dillonzq/LoveIt.git themes/LoveIt
Add theme to config.yaml
echo theme: \"liva-hugo\" >> config.yaml
# or
echo theme: \"website_hugo_framework\" >> config.yaml
Customize config.yaml
Run server for testing
Production:
hugo server
With Drafts:
hugo server -D
1 Build Pages
Production:
```bash
hugo
```
With drafts:
```bash
hugo -D
```
Ones I didn’t like as much
Good one: