veganprestwich.co.uk - an eleventy site, built with nix, hosted on nixos
https://veganprestwich.co.uk
stefan burke
07b7be0a9d
Reviewed-on: #1 Co-authored-by: Stefan <git@stefn.co.uk> Co-committed-by: Stefan <git@stefn.co.uk> |
||
---|---|---|
_data | ||
_deleted_places | ||
_includes | ||
pages | ||
place | ||
scripts | ||
static | ||
style | ||
tags | ||
.eleventy.js | ||
.eleventyignore | ||
.gitignore | ||
default.nix | ||
LICENSE | ||
node-deps.nix | ||
README.md | ||
shell.nix | ||
sitemap.liquid | ||
yarn.lock |
VeganPrestwich.co.uk
We want to catalog the best places for vegan food and vegan-friendly shops in Prestwich.
Feel free to make a pull request, or join the discussion on Facebook
Building This Site
This site is built with Eleventy and deployed using Nix / Nixos
default.nix (link)
- deletes
_site
folder - creates
_site/style
- compiles the SCSS in
style
to CSS in_site/style
- minifies and adds vendor prefixes to the CSS using
lightningcss
- builds the site to HTML using Eleventy, into
_site
- minifies the HTML using
html-minifier
- copies the output to
$out
shell.nix (link)
- if you call
serve
:- deletes
_site
folder - creates
_site/style
- compiles the SCSS in
style
to CSS in_site/style
- builds the site to HTML using Eleventy, into
_site
- serves it up on http://localhost:8080
- deletes
- if you call
upgrade_deps
:- upgrades the
yarn.lock
file to the latest version of Eleventy
- upgrades the