Blog
Coming From Java (Or a C-Like Language) to Hugo's Go Templates
If you have a basic understanding of Java, or any other C-like language, then this post will ease you into Hugo’s Go Templates syntax.
Convert HEIC Images to JPG
My wife needed to upload a couple hundred pictures, from her Mac, to an online service that makes photo albums. The service didn’t accept images with the .heic extension, so she needed to convert them to .jpg. This would take many hours to do one-by-one, so thankfully ImageMagick supports conversion of HEIC images. Here’s how to do it.
Hit localhost on macOS From VirtualBox Windows 7 VM
At work, everyone on my team has Macs, but the users of one of our apps use Internet Explorer 11 (IE). We obviously need to test in IE, but how? This is where a VirtualBox Win7 VM comes in handy. Our app has a React front-end, so local development/testing is done on http://localhost:3000. But how do we hit this URL from the Win7 VM? I’ll show you, but first let’s setup the VM.
Generate Lorem Ipsum With a Hugo Shortcode
Inspired by this discussion, I thought it’d be useful to generate Lorem Ipsum with a Hugo shortcode.
File Variables in Hugo
Hugo’s .File variables (see the docs) are useful for getting filesystem data on your content files.
Total blog posts: 220