Skip to content

Commit 7f47a91

Browse files
authored
fix favicon tags
`rel="alternate"` indicates an alternate representation of the *current* document (i.e. the docs page), not the *linked* document. Also, add `sizes` attribute since currently there’s no way to programmatically know the difference between these two links.
1 parent a73b1ea commit 7f47a91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/components/layout.html.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535

3636
<!-- favicon -->
3737
<link rel="apple-touch-icon" sizes="180x180" href="/static/images/apple-touch-icon.png?v=ngJW8jGAmR">
38-
<link rel="alternate icon" type="image/png" href="/static/images/favicon-16x16.png">
39-
<link rel="alternate icon" type="image/png" href="/static/images/favicon-32x32.png">
38+
<link rel="icon" sizes="16x16" type="image/png" href="/static/images/favicon-16x16.png">
39+
<link rel="icon" sizes="32x32" type="image/png" href="/static/images/favicon-32x32.png">
4040
<link rel="icon" type="image/svg+xml" href="/static/images/favicon.svg">
4141
<link rel="manifest" href="/static/images/site.webmanifest?v=ngJW8jGAmR">
4242
<link rel="mask-icon" href="/static/images/safari-pinned-tab.svg?v=ngJW8jGAmR" color="#000000">

0 commit comments

Comments
 (0)