Start an initial clone with git clone --recursive
or do an update with
git pull --recurse-submodules
.
There are two submodules.
- public/ - points to the actual location where github pages are rendered
- themes/hugo-theme-nix/ - points to a fork currently of the chosen theme
Hugo is used to populate the public folder.
To verify changes locally:
$ hugo serve
To build and prepare for submission:
$ hugo
An example for pushing a simple update:
- Make changes, perhaps by modifying config.toml
- Rebuild by executing
hugo
- pushd public && git commit -a "simple change update" && git push
- popd && git commit -a "simple change update, bump submodule" && git push