Hello Hugo!

I am using hugo to publish my static site.

As simple as expected!

I followed these steps, with more information from the starting info page.

And I decided to go with the Mainroad theme. Installed with

git submodule add https://github.com/Vimux/Mainroad.git themes/mainroad

Using Porkbun as my host, and they have a static hosting option that pulls directly from my git repo.

Not as simple as expected!

I realized that the setup that I wanted was not a 100% match, as I wanted to have everything in git, so I fiddled a bit and ended up with the following scenario:

  • A private git repo that hosts all the data that is used to create the site
  • Used hugo to create the NoviceHusband site in the private local repo
  • Changed the configuration so that hugo publishes to the local public NoviceHusband repo

And it works!

The site is up! There is still a lot of work that needs to be done, but at least there is something.

Updates

Updating hugo itself is managed through chocolatey. Remember to execute with elevated privileges.

choco upgrade hugo

Updating the theme, use

git submodule update --remote --merge