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

@ -2260,6 +2260,13 @@ export std::string RenderDocument(const RenderedPage& page,
"{}{}{}{}{}"
"<link rel=\"alternate\" type=\"application/atom+xml\" title=\"Catcrafts\" href=\"/feed.xml\">\n"
"<link rel=\"icon\" href=\"/favicon.svg\" type=\"image/svg+xml\">\n"
// Declaring this is what stops Safari probing the root for
// /apple-touch-icon-precomposed.png and /apple-touch-icon.png, which is
// its fallback when a page names no Home Screen icon. /favicon.ico
// deliberately gets NO <link>: it exists purely so the by-path request
// resolves for clients that ignore the SVG, and declaring it would give
// SVG-capable browsers a reason to fetch the raster as well.
"<link rel=\"apple-touch-icon\" href=\"/apple-touch-icon.png\">\n"
"<link rel=\"stylesheet\" href=\"{}\">\n"
"{}"
"</head>\n<body>\n"