Elektrubadur

Personal web page of Björn Lindström

Entries on WWW:

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.

How This Blog Works

In Software about WWW, HCoop, Git and Automation — 

This blog is created using the Zola static site engine. I use a combination of GitLab CI and cron to automatically upload it to my web server whenever I merge a change to the Git master branch of the home page.

The elektrubadur.se source code is kept here in GitLab [Update 2023-06-07: elektrubadur.se sourcecode moved to Sourcehut]. While writing a post I just run zola serve on my computer and can look at a dynamically updated website on a local web server.