You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No need for rel="shortcut icon", should be just rel="icon".
shortcut is not, and never has been, a valid link relation. Read this amazing article by Mathias Bynens from ten years ago that explains why we never needed shortcuts and why rel="icon" is just fine.
Thanks for the issue @coliff! I’m not sure this rises to the level of a bug if nothing is breaking?
The HTML spec was updated since that initial article was written to say:
For historical reasons, the icon keyword may be preceded by the keyword "shortcut". If the "shortcut" keyword is present, the rel attribute's entire value must be an ASCII case-insensitive match for the string "shortcut icon" (with a single U+0020 SPACE character between the tokens and no other ASCII whitespace).
Would welcome a PR cleaning this up though if you’re interested 🙌
What version of
starlight
are you using?0.25.0
What version of
astro
are you using?4.11.5
What package manager are you using?
npm
What operating system are you using?
Windows
What browser are you using?
Edge
Describe the Bug
No need for
rel="shortcut icon"
, should be justrel="icon"
.shortcut
is not, and never has been, a valid link relation. Read this amazing article by Mathias Bynens from ten years ago that explains why we never needed shortcuts and why rel="icon" is just fine.(from: https://evilmartians.com/chronicles/how-to-favicon-in-2021-six-files-that-fit-most-needs)
Link to Minimal Reproducible Example
n/a
Participation
The text was updated successfully, but these errors were encountered: