06.02.2022

Updating the Website

#tech

Incomprehensible and unstructured jumble of code scattered across a range of highly specific tools that is one typo away from crumbling into ruins. This is how I would describe

My static-site generator

To write a new article, I go to my blog-post directory, open a new file with vim and use a snippet (powered by UltiSnips) that inputs an html template with todays date, it also uses some python to automatically set ids to article titles.
After that I am free to use any html I please inside the article body. When I'm done, I set a flag (an html comment) to indicate to my site generator that the article should be published/updated/deleted.

Yep, it's all plaintext. I don't know what will happen if I mess up any of it.
This is how I roll.

The site-generator itself is written in python and just parses the file for the fields I mentioned and then compiles all blog-posts into html pages. It's NOT recommended for use yet but you can check it out. What I would recommend is Luke Smith's lb.

So what's new?

New and fresh additions to the site:

I also rewrote a lot of the code to make future changes easier.

What's in plans?

I didn't have enough time to implement everything, in the future you can expect: