Source for aaqa.dev, a personal site built with Zola.
Site content lives in content/; templates, Sass, and static assets live in
templates/, sass/, and static/. Reading-time metadata is generated by the
Rust tool in tools/reading-stats and written to data/reading_stats.json.
The Nix flake provides Zola and the Rust toolchain, and exposes commands that regenerate reading statistics before serving or building the site.
With direnv installed, allow the repository once:
direnv allowStart the local development server with live reload:
nix run .By default the site is available at http://127.0.0.1:1111. Set
ZOLA_BASE_URL to use a different local base URL.
Build the production site:
nix run .#site-buildInstall Zola and a current Rust toolchain, regenerate reading statistics, then run Zola directly:
cargo run --quiet --locked --manifest-path tools/reading-stats/Cargo.toml
zola serveFor a production build, replace zola serve with zola build.
Reading time counts prose at 230 words per minute, code at 45 non-empty lines per minute, and ASCII diagrams at 25 lines per minute.