Around the time this article was written, this website was generated using Zola - a super-fast, modern static-site generator written in Rust!
Why is Zola used for this website?#
My requirements were:
- Speed - I need the site to be generated as fast as possible
- Frictionless setup - I just want something that is simple to download and install. I don’t want to deal with potentially complex prerequisites
Zola fits my requirements the best. It’s typically distributed as a executable binary file. The program is several MBs large which is awesome considering everything it does.
So, while these generators provide so many useful, cool features, the issues are that:
- They require Node.js on the machine that generates the site.
- NPM package dependencies! I’ve seen the
node_modulesfolder can grow over 100x the size of the Zola itself.
- Slower to generate the site than Zola.
Here are tradeoffs based on the way I use Zola for this website:
- It’s (really really) fast. Written in Rust.
- Compiles Sass for you
- Decent templating syntax
- Image resizing at build-time
- Multilingual Site Support
- Generates RSS feeds
- Live reloads when serving the site locally
- Still maturing. There may be some features not available on here. You can help out here though: https://github.com/getzola/zola
- Tooling around it isn’t as mature as other static-site generators.
For my needs, no other static-site generator comes close.