Simplifiying what doesn't matter
I grew tired of feeling like I had a wall of things I needed to handle and sort out before making a new post here.. Basically, even though I was using Astro and all the tooling in the world to simplify - this page just never ended up as simple as it should've been.
Instead I just removed everything. My blog is now just html and css. No magic, no fluff. Well - it's not really true, I do still write my posts in markdown... I just dont run a huge framework for something that is basically 200 lines of a build script in order to render reasonable HTML.
So I minimized to this:
- A build script written in vanilla JS that parses markdown, frontmatter and adds syntax highlighting.
- A folder of structured markdown posts
- A github action that syncs
/distto S3.
Now, writing a post is still as simple as smashing my keyboard and dropping a few lines of markdown - but the beast of a framework is removed completely.
~ 200 lines of JS ~ 200 lines of CSS (thanks claude)
and that's it!
Out.