james-s-w-clark / james-s-w-clark.github.io

https://james-s-w-clark.github.io/
1 stars 0 forks source link

https://github.com/paulmartins/hugo-digital-garden-theme

To run a server:

hugo server

To build locally to ./public:

hugo

To update the hugo-digital-garden-theme:

git submodule update --remote --rebase

If the commit hash for ./themes/digital-garden is not updating:

cd themes/digital-garden
git pull
cd - 
git submodule update --init --recursive --remote

A hidden git submodule config points to a remote. I pointed it to my digital garden fork.

git submodule sync --recursive

The digital-garden folder will change hash - can see changelog by comparing hashes against https://github.com/paulmartins/hugo-digital-garden-theme/commits/main.