added missing icons
All checks were successful
Deploy / build-deploy (push) Successful in 3m0s

This commit is contained in:
Jorijn van der Graaf 2026-08-18 21:21:41 +02:00
commit faf881fa0c
10 changed files with 201 additions and 8 deletions

View file

@ -333,6 +333,18 @@ extern "C" Configuration CrafterBuildProject(std::span<const std::string_view> a
cfg.files.emplace_back(fs::path("sitemap.xml"));
cfg.files.emplace_back(fs::path("feed.xml"));
cfg.files.emplace_back(fs::path("favicon.svg"));
// Icon paths clients ask for without ever being told to. /favicon.ico is
// the root-path fallback a client uses when it cannot render the SVG above
// (Safari, historically) or never runs the JS that declares it (feed
// readers, the chat-app unfurlers, crawlers hitting the static shell); the
// apple-touch-icon.png is what Safari wants for its Home Screen and
// Favorites tile — its legacy -precomposed path is a Caddy rewrite onto
// this same file rather than a second entry here. Both were top entries in
// the 404 report until they shipped. Rasterised from favicon.svg by
// tools/make-icons.sh and committed — re-run it whenever that SVG is
// redrawn.
cfg.files.emplace_back(fs::path("favicon.ico"));
cfg.files.emplace_back(fs::path("apple-touch-icon.png"));
// WGSL for the ray-traced WebGPU demo embedded in the blog (see
// interfaces/Catcrafts-Demo.cppm). Fetched at runtime by WebGPUShader.
cfg.files.emplace_back(fs::path("shaders/raygen.wgsl"));