Sometimes things change fast: Just about two months after I launched this website with the SSR-Framework Sapper I'm replacing it with a site that is generated with the static site generator Eleventy. Let me explain.
In the article about the building of the Sapper-version of this site, I wrote:
"To be honest: This page should be a developed as a static-site-generator-project, there is actually no need for all that SPA/SSR-stuff. I’m doing this primarily as a learning-project."
Why not Eleventy in the first place?
When I was initially rebuilding my site, I gave some tools a try and even had a first look at Eleventy. Because the idea of building something with completely different tools was born out of reluctance of my current work and being overwhelmed by the current situation, I was searching for fast results. I think mainly to feel better. And given the constraint that I wanted the content hosted in my good old WordPress, choosing Sapper was more obvious. It gave me fast and actually good results. But there was this feeling.
Over the weeks I managed to get back some structure, especially in the evenings. I was able to play around with some code for one or two hours before I was too tired and began to make those stupid mistakes you make, when the eyes get tired and small. Since I've mainly worked in PHP-based environments in the past, I also had the chance to get more confident working in a Node.js environment. And finally I overthought my goals: I want to learn something new. But it has to be something I really like.
So it's Eleventy. But why?
When I decided to move away from the SSR-based site, I went back straight to Eleventy. I've again read some articles about it and was maybe a bit influenced by Søren, who is some kind of 11ty-evangelist.
Apart from that I really like the community around the software. There are plenty of like minded people that love to build great websites and share my passion for blogging. The amount of unread blogposts in my Pocket-account is rising every day. Hopefully, I can give some things back.
Well, first: More content. I have some raw drafts in the backend and also one or two ideas that I could implement into this site. Then: Some optimization and cleanup. I am mostly learning by doing so this page is a repository consisting of some thrown-together and latenight-written code. And maybe I'll return to Svelte with a little side project. We'll see.