From Astro to Zola
fn main() {
println!("Hello world!");
}
TL;DR: I've re-written my website using Zola, replacing Astro.
While reading corrode's Migrating from Go to Rust I came across blainsmith's website and liked how it felt like no byte was wasted.
I checked out the source code for the website and found out it was using Zola, a static site generator (SSG).
Astro has served my needs well, and I still like the framework for many use cases, but I now feel it's overkill for my website.
I've had this thought pop up every now and then to try a plain HTML, CSS and JS setup, but after trying Zola, I don't feel any need to.
Zola is minimal, while still having everything I want, while needing basically no setup. Here are Zola's main selling points for a general overview:
-
Single executable: Everything you need to build and work on a Zola project is inside a single executable. There are binaries available for basically any platform (Linux, FreeBSD, MacOS, Windows).
-
Fast: The average Zola website will be generated in less than a second.
-
Intuitive: Learning how to use the CLI, template engine, etc, is very easy.
-
Augmented Markdown: Zola comes with shortcodes and internal links to make writing content in Markdown a lot nicer and fault tolerant.