Hello

2021-Mar-06

After several failed attempts to create a blog, I finally managed to make one by writing a static site generator in Bash based on nerdypepper’s post. To put it simply, the Bash script reads all markdown files from a directory, converts them into HTML using Pandoc, adds some essential CSS and HTML to all the files and writes all resulting files in a specific directory. I also wrote a small script to add a random Tirukkural to my homepage whenever I update the blog. This script uses jq to fetch a kural from a JSON database on my system. Finally, to update the blog, all I have to do is execute build.sh and push all files to remote.

I stole the CSS from here. If you are the author of that blog, a big thank you and also I really appreciate your posts about Emacs.

I look forward to writing regulary on this blog.