#hugo

Better code highlighting in Hugo with Torchlight

During my latest redesign, I replaced Hugo’s default code highlighting with Torchlight. In this post, I’ll explain how I set up Torchlight CLI for my Hugo site. (Although this can be applied to any static site.)

Read more


#hugo

Using markdown in HTML (in markdown) in Hugo

How to write HTML in Hugo without losing markdown capabilities.

Read more


#netlify #hugo #static-sites #github-actions

How to schedule posts on a static Hugo site with Netlify and GitHub Actions

If all went well, this post was published automatically. I added the ability to schedule posts on my static blog (built with Hugo). I wrote a short GitHub Action to trigger a build on Netlify every morning.

Read more


#hugo

Caption images with markdown render hooks in Hugo

I’ve been looking for a way to add captions to markdown images without falling back to raw HTML. It turns out Hugo supports this with render hooks.

Read more