arnes.space/README.md
2022-02-20 18:33:48 +01:00

917 B

arnes.space

This repository contains the source files for https://arnes.space. It uses eleventy and pnpm to build a static website from a bunch of files that you can find in the src/ folder.

Available Commands

# build the complete site
pnpm build

# run a local server that automatically changes as you update content
pnpm start # is the same as `pnpm watch`

Publishing

  • Blog posts go into src/posts. The latest few are displayed on the home page. You can set draft: true in a post's front matter to render it without linking to it from somewhere else on the page.

Build Environment

The build environment is described in flake.{nix,lock} and .envrc. You can use direnv and nix with flakes support to automatically drop into a shell that contains all tools for building the website.