This commit is contained in:
parent
593bdb17d4
commit
faf881fa0c
10 changed files with 201 additions and 8 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue