An Org/Hugo Workflow for Blogging

Lots of bloggers are electing to generate static sites instead of relying on a CMS like Blogger or WordPress. It’s an attractive option and one that I would probably pursue if I didn’t have so much invested in WordPress. All my posts are written in Org mode and archived on my local machine so it would be pretty simple to republish them as static pages. The main problem I see is how to move the comments with the posts. There’s a lot of wisdom contained in those comments and I’d hate to lose them.

If you’re just starting out, however, there’s no reason not to consider a static blog. Michael Howard over at FumbLing has a nice post that goes into detail on how he uses Hugo and Org mode to blog. The nice thing is that every step from writing a post to publishing it is handled from within Emacs so there’s very little friction.

If you’re not a hardcore Emacser, you might wonder why you’d want to use Emacs for blogging. Howard explains why he thinks it makes sense at the beginning of his post. Then he goes into how he actually uses Org and Hugo to blog. As I said, it’s pretty seamless. He has a single Org file with all of his posts in it. I don’t know how well that would scale for someone like me who posts daily, but it’s a very attractive strategy that keeps everything in one place.

If you’re wondering if the Org/Hugo combination is a sustainable option consider that Mike Zamansky and many others also use Hugo and Org-mode for their blogging. As I say, it’s one I’d consider if I weren’t so heavily invested in WordPress.

This entry was posted in General and tagged , . Bookmark the permalink.