My personal blog / website https://arnes.space
  • SCSS 28.5%
  • JavaScript 26.3%
  • Nunjucks 24.8%
  • CSS 14.5%
  • Shell 3.8%
  • Other 2.1%
Find a file
2022-12-11 20:55:36 +01:00
scripts Build in parallel 2022-10-06 23:06:23 +02:00
src Better spacing for lists in articles 2022-12-11 20:55:36 +01:00
.eleventy.js Load images lazily 2022-10-07 00:47:19 +02:00
.envrc Initial commit 2022-02-20 17:18:19 +01:00
.gitignore Initial commit 2022-02-20 17:18:19 +01:00
.npmrc Revert "Add missing peer dependencies" 2022-10-05 12:20:25 +02:00
flake.lock Update nixpkgs 2022-07-10 09:32:10 +02:00
flake.nix Publish first post 2022-02-24 15:18:44 +01:00
package.json Load images lazily 2022-10-07 00:47:19 +02:00
pnpm-lock.yaml Load images lazily 2022-10-07 00:47:19 +02:00
README.md Allow adding drafts 2022-02-20 18:33:48 +01:00

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.