Hugo

Hugo On Windows 11

I’m in a split world between my trusty Intel Mac Laptop and a Windows 11 desktop. I’ve been away from Windows for a long time, so I’m making a few notes for anyone who needs to solve similar issues. Bottom line was that I wanted to add some content to my blog where the static content is created using Hugo

I switched from Bear to Obsidian earlier this year for my general note taking. Obsidian lets you synchronise vaults (document repositories) via iCloud. So my blog authoring process has been to mount the Hugo directory as a vault via iCloud in Obsidian. When I then create new content using the Hugo command line :

Local Hugo Deploy S3

Before I jump to an automated GitHub -> S3 deployment for Hugo, I needed to get hugo deploy working for me locally to write changes directly to S3 once I’m happy with a post. I’m a little paranoid about AWS credentials for obvious reasons, so for local work, I like to have specific profiles in my ~/.aws/credentials file. These look like :

[hugo]
aws_access_key_id=c3VwZXIgc2VjcmV0IHVzZXI=
aws_secret_access_key=SSdtIG5vdCB0aGF0IHN0dXBpZAo=

Where the given user Hugo has specific access only to the S3 bucket being published to along with the ability to invalidate a cloud front distribution.

Starting With Hugo

I’ve been avoiding posting blog content for a while, in fact it’s been a very long while. Initially, this was due to my previous employment, and now having served a years garden leave it feels like it would be worth updating a few things here in the blog.

Heads up to @jbstans for reminding me that Hugo existed, so this is a little attempt at moving away from Blogspot to something more appropriate for me.