Blog

How this site is built

This site is generated by a small Rust program and served as plain files by Caddy. This post explains the choices, including the ones we decided against.

Static, not a server

Nothing here needs to change between requests, so there’s nothing to run. Pages are written once at build time; the server’s only job is to send files.

What we left out

  • Syntax highlighting. It would need a large dependency and more colour than the site’s two (cream on deep navy), which are deliberate.
  • Generated preview images. One image, drawn once, does the job.
  • A contact form. An email link works everywhere, collects nothing, and has no spam to fight.

Checks that stop the build

Every internal link, anchor and redirect is checked against the built files before a deploy can start. See the project page for the rest.