- Last Updated: - [[2021-01-26]] - [[2020-12-08]] - #[[Move personal site to Hugo.]] [[Hugo]] - - ### Make content changes in blog repository - `blog` contains source content, and `nicolevanderhoeven.github.io` contains the live site. Make all changes in `blog`. - ### Build site - `hugo` - This will repopulate the relevant files in `nicolevanderhoeven.github.io` so that the submodule has those changes too. - ### For each repo, add changes and commit. - "`git add *` (or replace `*` with the name of the file)" - "`git commit -m 'Changed a bunch of things in sections 1 and 2'`" - ### Push commit in site repo - `git push` in `site-nicolevdh/public` - ### Push commit in blog and relink to submodule - `cd` to `site-nicolevdh` in Terminal. - "`git push -u origin master --recurse-submodules=on-demand`" - Both repos should be updated.