My personal blog / website
https://arnes.space
|
||
---|---|---|
scripts | ||
src | ||
.eleventy.js | ||
.envrc | ||
.gitignore | ||
.npmrc | ||
README.md | ||
flake.lock | ||
flake.nix | ||
package.json | ||
pnpm-lock.yaml |
README.md
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; 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 setdraft: true
in a post's front matter to render it without linking to it from somewhere else on the page, or put it intosrc/posts/drafts
.
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.