Elektrubadur

Personal web page of Björn Lindström

Entries on Hugo

All tags

Converting Sources of This Blog to Org format

In Programming about WWW, Markdown, Org, Hugo, Python and Emacs — 

It looks a bit bad that the last entry here was three years ago and was about how the site generation works, and here is another one on the same topic. However, it's in the interest of making it more enjoyable for me to write more that I've switched from Zola to Hugo in order to be able to keep the sources in Org format.

Here I'll just share the script I made to do the format conversion, in case it's useful for anyone else. Actually, half the reason I'm even writing this entry is that I will need to later on repeat this process for another page I manage, and this way I have the script and some notes for then.