← All posts

Building a blog the lazy-but-clean way

This portfolio was vanilla HTML, CSS and JavaScript — no framework, no build step, zero dependencies. I wanted a blog without throwing that away.

So the blog is a bolt-on: Zola generates /blog from Markdown and reuses the portfolio's stylesheet. The home page stays hand-crafted.

A bit of code, to check that syntax highlighting works:

fn main() {
    let greeting = "Hello from the blog";
    println!("{greeting}");
}

And inline code renders with the accent color too.

That's the whole idea: write Markdown, run make blog, push.