mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix(site): rm duplicate mask-icon; refactor(site): reorder <head> (#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
This commit is contained in:
@@ -2,16 +2,15 @@
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="mask-icon" href="/favicon.svg" color="#000000" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="theme-color" content="#17172E" />
|
||||
<meta name="application-name" content="Coder" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="csp-nonce" content="{{ .CSP.Nonce }}" />
|
||||
<meta property="csrf-token" content="{{ .CSRF.Token }}" />
|
||||
<link rel="mask-icon" href="/static/favicon.svg" color="#000000" crossorigin="use-credentials" />
|
||||
<link rel="alternate icon" type="image/png" href="/favicon.png" />
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="application-name" content="Coder" />
|
||||
<meta name="theme-color" content="#17172E" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="csrf-token" content="{{ .CSRF.Token }}" />
|
||||
<meta property="csp-nonce" content="{{ .CSP.Nonce }}" />
|
||||
<link crossorigin="use-credentials" rel="mask-icon" href="/static/favicon.svg" color="#000000" />
|
||||
<title>Coder</title>
|
||||
</head>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user