25 October 2024

The thing is done

First a decision was made, and now the thing is done.

These two screenshots make me prouder than they should.

Screenshot showing that a page from Lars-Christian's new home made static site generator passes w3.org's HTML and CSS validator.

Screenshot showing that a feed from Lars-Christian's new home made static site generator passes w3.org's feed validator.

One of the big benefits of writing stuff by hand is that you're actually in control of what's written. Which makes it feasible to create pages with actually valid HTML and CSS.

My homemade Static Site Generator (SSG) now works entirely to my liking. All I have to do now is port over the content and then make the switch and leave WordPress behind in favour of my own bespoke solution. I didn't foresee just how excited I would become about this!

Just for fun, I did a comparison of a Wordpress version of a post versus a version generated with my new SSG:

  • WP: 14 requests, 382 kB transfered (519 kB uncompressed)

  • SSG: 1 request, 2.8 kB transfered (9.4 kB uncompressed)

It's not a one-to-one comparison, but this is the difference between something made by hand with no unnecessary frills versus all the bloat that comes with Wordpress.