For about a year, I have been trying to find a suitable workflow to blog using Emacs org-mode. My idea was to put all articles (posts) in a single org file, which failed miserably for the following reasons:

The default org-mode html export is designed to work on separate files. So single file org export requires custom code which I don't want to write.

I wish to link to the source org file from each html article, which is not possible if every article is written in a single file.

Last year, I did write around 500 lines of code, which worked. Pretty much all of them were unmaintainable hacks. A few days back, I gave it a try again. This time, with a different design:

Each article is written in separate org files, with dated directory names. Eg.: A hello-world.org file in 2018/08/08 dir for Hello World article.

file in dir for article. Manually created blog index and atom feeds so that I don't have to wait another year to pass the salt.

For the impatient, get the source code here. The complete source code (including the sass design style sheets) are released into public domain (CC0). Feel free to use it the way you like. If you wish to attribute me, link to my website www.sadiqpk.org.