After talking to @jlelse, I finally decided not to trouble myself with writing my own static website generator and just improve what I have right now. Optimizing software to run faster is a good thing in itself. If you have to wait less for the software to run, you have more time for other things. But if you invest hours or days to save a few seconds in the end, then I question if this is a good idea.
I know not all of my readers celebrate Christmas, but that’s not really what this is about. I want to investigate the reason why it feels like time flies by. It’s December again. It still feels like August was only a week ago in August and January maybe a month ago. I remember how I made fun of the Christmas stuff at the supermarket in September and it seems like it was only yesterday.