Ever since I gave Eleventy
a go when I was building the LeedsJS
website, I've been a huge fan and advocate, even convincing some people to give it a try out of my sheer enthusiasm for it. I absolutely love the simplicity and flexibility of it, as well as things like data files. I have a whole post talking about this stuff from when I was building the new LeedsJS website.
I've been meaning to convert my own site over for a while, and recently took the plunge and decided to do it. As well as giving me the opportunity to dig into Eleventy without a deadline pressing me, it also gave me the chance to make some stylistic changes.
Today is CSS naked day 2020
! Inspired by Eric Meyer
, Laura Kalbag and Andy Bell
, I've removed the CSS from my site for today.
The process for me was super easy! Because my HTML was already well structured and I had decent default sizes for my images, I just had to remove the links to the CSS files and it worked!
My previous site hadn't been touched since late 2014 and was running using a custom PHP system I'd written that took markdown and produced the page. This was happening every time someone hit the page so was pretty inefficient.
As my focus is no longer on PHP, I wanted to move towards something JavaScript based. I didn't want to use a client side framework to do this, as the content is pretty static and I feel it would be needless to require JavaScript to present static content.