nexy7574.co.uk-b/ssg
2024-08-26 14:20:37 +01:00
..
src Add SSI webring 2024-08-26 14:20:37 +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
pnpm-lock.yaml Add Matrix clients list 2024-08-03 17:23:59 +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)