21 lines
917 B
Markdown
21 lines
917 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
|
|
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](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.
|