typst blog generation

November 5, 2025

Alright, I think I’ve figured out how to make this site render with Typst in a reasonably painless way.

Before, I was basically hand-writing HTML (with Nunjucks as a templating language), and it wasn’t really too painful? The only really annoying points were

But anyways, eleventy didn’t have a way to incrementally compile properly, so I just wrote my own binary that watches for file changes.

All it does is call the Typst CLI on every typst file and also pass through files that I specify (like CSS). All templating is done in native typst!

back to blog