Website

Public Repo as Submodule

For each submodule commit, the project updates its reference to the submodule to maintain its connection to the correct commit. Therefore, commit both the main project and the public repo, then run git push -u origin main --recurse-submodules=on-demand. See e.g. https://www.adamormsby.com/posts/000/how-to-set-up-a-hugo-site-on-github-pages-with-submodules/

Jekyll

Does Not Run on Big Sur

A combination of these resources seemed to fix it:

Undefined symbols for architecture x86_64: "_BIO_f_zlib" when installing Ruby environment

Run CC=/usr/bin/gcc rbenv install 3.0.0 as Homebrew's GCC version does not work with it (https://github.com/rbenv/rbenv/issues/610#issuecomment-55773864)

Hugo

Testing on Other Devices in Network

hugo server --baseUrl="IP address of computer" --bind="IP address of computer", then, on e.g. phone, go to computer.IP.address:1313