veganprestwich.co.uk - an eleventy site, built with nix, hosted on nixos https://veganprestwich.co.uk
Find a file
2024-11-26 02:19:04 +00:00
_data begin 11ty rewrite 2022-11-25 00:54:51 +00:00
_deleted_places deleted moda :( 2024-01-29 17:13:47 +00:00
_includes Fix dashes 2024-11-17 22:12:52 +00:00
bin Fix node 2024-11-26 02:19:04 +00:00
pages updated aldi, mention food more often, add superdrug 2023-01-26 11:38:11 +00:00
place Fix date on All The Shapes 2024-11-17 00:07:37 +00:00
static make 'static' dir, add not_found.html 2022-11-28 02:35:02 +00:00
style Update build stuff 2024-11-04 00:21:29 +00:00
tags nearly there 2022-11-27 23:45:57 +00:00
.build.yml Split build and push scripts 2024-11-26 01:27:27 +00:00
.eleventy.js buimp node, create image thumbnails 2024-04-14 23:13:53 +01:00
.eleventyignore make 'static' dir, add not_found.html 2022-11-28 02:35:02 +00:00
.gitignore Simpler and faster builds 2024-11-08 03:28:08 +00:00
default.nix Split build and push scripts 2024-11-26 01:27:27 +00:00
LICENSE begin 11ty rewrite 2022-11-25 00:54:51 +00:00
package.json Simpler and faster builds 2024-11-08 03:28:08 +00:00
pnpm-lock.yaml Add npm test 2024-11-26 02:04:48 +00:00
README.md Add links to the scripts 2024-11-08 03:57:58 +00:00
sitemap.liquid buimp node, create image thumbnails 2024-04-14 23:13:53 +01:00

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, using Sourcehut's build engine, then deployed to Neocities using their CLI.

There are three scripts inside /bin - build, serve and upgrade. They each use nix-shell to fetch the tools they need.

  • 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
  • sets NEOCITIES_API_KEY from a Sourcehut secret
  • pushes the whole site to Neocities
  • 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
  • upgrades the pnpm-lock.yaml file to the latest version of Eleventy