nexy7574.co.uk-b/ssg
nexy7574 096b63c586 CI and nav improvements
* Added docker image (mainly for dev work)
* Addded docker CI
* Fixed the QR code for keyoxide being tiny
2024-07-04 15:45:16 +01:00
..
src CI and nav improvements 2024-07-04 15:45:16 +01:00
.eleventy.js Add technologies page 2024-06-18 02:11:20 +01:00
package-lock.json Make use of static-site generation with 11ty 2024-06-18 01:28:00 +01:00
package.json Make use of static-site generation with 11ty 2024-06-18 01:28:00 +01:00
README.md Add build info to ssg/README.md 2024-06-18 01:50:11 +01:00

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)