Arizona Troop 201 Hugo Website content
hugo new site home
- Download a theme into the same-named folder. Choose a theme from https://themes.gohugo.io/ or create your own with the "hugo new theme " command.
- Perhaps you want to add some content. You can add single files with "hugo new /.".
- Start the built-in live server via "hugo server".
Do this in each clone
git submodule add https://github.com/budparr/gohugo-theme-ananke.git home/themes/ananke
git worktree add -B gh-pages public upstream/gh-pages
Automatic with git actions
https://github.com/peaceiris/actions-gh-pages#options
-
Install Hugo
snap install hugo
-
Clone Repo
-
Init submodules
git submodule update --init --recursive
-
hugo server
# Local binding hugo server -D --bind "0.0.0.0" -p 8080 #Chromebook/Crostini Shortcut when localhost doesn't work hugo server -D --bind "0.0.0.0" -b "http://penguin.termina.linux.test"