arnes.space/README.md
2022-12-15 09:45:47 +01:00

21 lines
992 B
Markdown

# arnes.space
This repository contains the source files for https://arnes.space. It uses [eleventy](https://www.11ty.dev/docs/) and [pnpm](https://pnpm.io/) to build a static website from a bunch of files that you can find in the `src/` folder.
## Available Commands
``` sh
# build the complete site; the static page will end up in `_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, or put it into `src/posts/drafts`.
## Build Environment
The build environment is described in `flake.{nix,lock}` and `.envrc`. You can use [direnv](https://direnv.net/) and [nix with flakes support](https://nixos.org/) to automatically drop into a shell that contains all tools for building the website.