Skip to content

Commit 80577d0

Browse files
author
G r e y
authored
fix(site): rm duplicate mask-icon; refactor(site): reorder <head> (coder#425)
* fix(site): remove duplicate mask-icon /favicon.svg should 404, but it's also a duplicate of the mask-icon that has crossorigin="use-credentials" refactor(site): link attribute ordering I believe the former duplication of rel="mask-icon" was because the crossorigin and rel attributes made it less readable. * refactor(site): reorder link and meta tags
1 parent 60f3cf6 commit 80577d0

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

site/html_templates/index.html

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,15 @@
22

33
<head>
44
<meta charset="utf-8" />
5-
<link rel="mask-icon" href="/favicon.svg" color="#000000" />
6-
<link rel="alternate icon" type="image/png" href="/favicon.png" />
7-
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
85
<meta name="viewport" content="width=device-width, initial-scale=1" />
9-
<meta name="application-name" content="Coder" />
106
<meta name="theme-color" content="#17172E" />
7+
<meta name="application-name" content="Coder" />
118
<meta property="og:type" content="website" />
12-
<meta property="csrf-token" content="{{ .CSRF.Token }}" />
139
<meta property="csp-nonce" content="{{ .CSP.Nonce }}" />
14-
<link crossorigin="use-credentials" rel="mask-icon" href="/static/favicon.svg" color="#000000" />
10+
<meta property="csrf-token" content="{{ .CSRF.Token }}" />
11+
<link rel="mask-icon" href="/static/favicon.svg" color="#000000" crossorigin="use-credentials" />
12+
<link rel="alternate icon" type="image/png" href="/favicon.png" />
13+
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
1514
<title>Coder</title>
1615
</head>
1716

0 commit comments

Comments
 (0)