Git: Simplistic Submodules

My use of submodules in git repos tends towards the simple. This tip illustrates using other Git repositories as submodules in the use case where we intend to be a mere consumer of the other project within ours. It’s a common pattern utilized by web themes and vim/Neovim scripts.

Continue reading (600 words)...

Script: Bind Hugo to external net

Problem: You need to run Hugo in “watch” mode during development but rather than bind to the default localhost:1313 you need to bind Hugo to an externally visible IP address - which for those of us not chained to one work location may change frequently. An externally accessible IP is particularly helpful for virtual machine users that may need to test browsers available on other real or virtual machines.

Continue reading (300 words)...

New site, new theme

Once upon a time I blogged a lot. Then I stopped… I’m not entirely sure why as I do like to share. In the meantime I’ve been building sites for non-profits for a while and eventually landed upon Hugo, the entirely excellent static site generated written in the appealing Go language.

I finally got around to packaging a theme up for submission to Meet Hugo-smorg - it’s powering this site, and variations of it are powering others.

Github page: Hugo-Smorg | Demo site

Continue reading (300 words)...