Skip to content

Repository files navigation

aaqa.dev

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.

Development

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 allow

Start 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-build

Without Nix

Install 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 serve

For 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.

About

Repository containing my portfolio website.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages