Diego A. Mundo over at whyarethingsthewaytheyare.com has a nice post on how to blog with Hugo and Org mode. Hugo uses markdown as its input language but Mundo likes to work with Org so he wrote a bit of Elisp to export Org markup to markdown. That’s a nice bit of code because it shows how to use
ox-pandoc to do the export. It serves as a handy go-by for automating other Pandoc translations from Org.
Mundo uses a single file for his blog with each post in a level 1 subtree. This is like the strategy that Artur Malabarba uses for Endless Parentheses. I like the single file idea a lot and would probably steal it except that I’m afraid a single file wouldn’t scale well with the daily posts that Irreal inflicts on the world.
As I’ve said many times, I’m a reasonably happy WordPress user but if I decided that I wanted a simpler homegrown method, Hugo and Org would be a something I’d definitely look at. You might think that you need to be an expert it do this type of thing but Mundo says he knows next to nothing about setting up a blog. He used Google Domains to register and maintain his domain and Gitlab Pages to host it. Everything else is contained in that single blog file and the bit of Elisp we wrote to turn his Org markup to a Hugo input file in markdown. Head on over to Mundo’s post for the details of how he set things up.