12 hours ago · Tech · hide · 0 comments

I'm proud to announce I've successfully migrated my personal site to Eleventy, a static site generator written in JavaScript. There's lots of static site generators in most programming languages (even Bash). I wrote my own once, with PHP and Makefiles, but it was slow and inefficient. This time I wanted to learn a new thing and add it to my toolbelt. I was surprised at how fast Eleventy was. It exceeded my expectations. I like that it has several template engines and you can mix them. My pages use Nunjucks but my Blog posts are Markdown. My main criticism of Eleventy is that it rebuilds the whole site on every change. Coming from Makefiles, I find it inefficient. If I do a large bulk change with sed, the watcher does a stack overflow, memory usage skyrockets and freezes. I have to remember to stop the watcher beforehand or suffer the consequences, which means doing a kill -9 on the Eleventy processes. Not the end of the world, but in one occasion I was working remotely via SSH while…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.