|
||
---|---|---|
content | ||
layouts | ||
lib | ||
.envrc | ||
.gitignore | ||
eleventy.config.js | ||
flake.lock | ||
flake.nix | ||
Justfile | ||
LICENSE | ||
package.json | ||
README.md | ||
yarn.lock |
Example Eleventy website, built by Nix flake
This is based on the setup used for dee.underscore.world;
For development, first run yarn
to fetch dependencies. Then, to run a live preview server, do just serve
. To build out to ./_site
, do just build
.
To build as a Nix package, do nix build .#example-website
. This does not require manually invoking yarn
.