Mode
Color
Width

Switching to Eleventy

December 14, 2023
2 Minute Read

I think at this point, my plan is to rebuild my blog with Eleventy. Playing around with it I feel like it’s the simplest tool to do what I need. I still have a lot to learn with it, but I’m hoping that it will be the platform everything I’ve read says it is.

Initial Thoughts

No TypeScript

I know I’m going to get some flak for this, but this is the first time in a little while I haven’t used TypeScript. There have been some places I’ve missed it, but it’s not a big deal. It certainly makes the build and upgrade path easier.

I Kind of Miss MDX

One of the nice things I appreciated with Next.js is the ability to write my posts in MDX. I could include the various components I’ve written for my posts to make things a little simpler when writing posts that used shareable components. I haven’t quite figured this part out yet on Eleventy.

Eleventy has WebC and it has what it calls short codes that allow me to put templates into my markdown files, but they don’t feel quite the same as the React components I’m used to being able to use. This could certainly be a “personal taste” thing.

Simpler Build Process

The build process for Eleventy is simpler than that of Next.js. It generates static HTML which feels cleaner. It should also make deployments easier. I haven’t really looked into that yet, but I figure it shouldn’t be too difficult.


My Current Status

My current status is that I have a GitHub project where I will be going through and rebuilding all my pages in Eleventy. I got all my blog posts moved over, and am currently working on my reading logs. It’s a slow(ish) process, but I’m also working on a different look and feel. I’m also doing my best to keep it maintainable for the future. My plan is to write a lot more in 2024 so I want to have my site be in a good place when this is all over.

I definitely won’t be finished by the end of the year, but the process of learning and building with Eleventy has been fun.