Skip to content

Troop 201 Static site generator using Hugo and Github Pates

License

Notifications You must be signed in to change notification settings

AZTroop201/aztroop201-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aztroop201

Arizona Troop 201 Hugo Website content

References

Commands

Create new site

hugo new site home
  1. 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.
  2. Perhaps you want to add some content. You can add single files with "hugo new /.".
  3. Start the built-in live server via "hugo server".

Theme setup

Do this in each clone

git submodule add https://github.com/budparr/gohugo-theme-ananke.git home/themes/ananke

Publish outside of actions

git worktree add -B gh-pages public upstream/gh-pages

Automatic with git actions

https://github.com/peaceiris/actions-gh-pages#options

Setup local dev env

  1. Install Hugo

    snap install hugo
  2. Clone Repo

  3. Init submodules

    git submodule update --init --recursive
  4. 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"

About

Troop 201 Static site generator using Hugo and Github Pates

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published