nexy7574.co.uk-b/ssg/README.md

457 B

SSG Edition

The original site was migrated to use 11ty in order to take advantage of features like templating.

Now /ssg/_site should be deployed.

Building

cd ssg
npm i
npm run build

Serving

Write this Caddyfile:

site.example {
    root * ./_site
    encode {
        zstd
        gzip 9
    }
    file_server
}

Then deploy:

caddy run

Then go to http://site.example (well, whatever you changed it to)