-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
38 lines (36 loc) · 1.08 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<link rel="icon" type="image/svg+xml" href="/vite.svg"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>{{.Title}}</title>
<!-- if development -->
{{if .DevMode}}
<script type="module">
import RefreshRuntime from '/@react-refresh'
RefreshRuntime.injectIntoGlobalHook(window)
window.$RefreshReg$ = () => {
}
window.$RefreshSig$ = () => (type) => type
window.__vite_plugin_react_preamble_installed__ = true
</script>
<script type="module" src="/@vite/client"></script>
{{end}}
{{if .GoogleSiteVerification}}
<!--Verification key used to prove the ownership of the site in the Google Search Console-->
<meta
name="google-site-verification"
content="{{ .GoogleSiteVerification }}"
/>
{{end}}
</head>
<body>
<div id="root"></div>
{{if .DevMode}}
{{else}}
<link rel="stylesheet" href="/{{ .MainCSS }}"/>
<script type="module" src="/{{ .MainJS }}"></script>
{{end}}
</body>
</html>