{{define "wrap"}}
<!DOCTYPE html>
<html lang="en">
	<head>
		<title>{{.Title}}</title>
		<meta charset="UTF-8"/>
		<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
		<meta name="robots" content="noindex, nofollow">

		<link id="stylesheet_layout" rel="stylesheet" type="text/css" href="/res/style/layout.css?v{{cacheID}}"/>
		<link id="stylesheet_theme" rel="stylesheet" type="text/css" href="/theme.css"/>

		<link rel="icon" sizes="32x32" href="/res/img/nova_32.png" />
		<link rel="icon" sizes="64x64" href="/res/img/nova_64.png" />
		<link rel="icon" sizes="128x128" href="/res/img/nova_128.png" />
		<link rel="icon" sizes="152x152" href="/res/img/nova_152.png" />
		<link rel="icon" sizes="180x180" href="/res/img/nova_180.png" />
		<link rel="icon" sizes="192x192" href="/res/img/nova_192.png" />
		<link rel="icon" sizes="196x196" href="/res/img/nova_196.png" />
		<link rel="icon" sizes="256x256" href="/res/img/nova_256.png" />
		<link rel="apple-touch-icon" sizes="128x128" href="/res/img/nova_128.png" />
		<link rel="apple-touch-icon" sizes="256x256" href="/res/img/nova_256.png" />
		<link rel="shortcut icon" sizes="256x256" href="/res/img/nova_256.png" />

		{{ template "opengraph" .OGData }}
		<script>
			window.api_endpoint = '{{.APIEndpoint}}';
			window.server_hostname = "{{.Hostname}}";
		</script>

		<script defer src='/res/svelte/wrap.js?v{{cacheID}}' type="module"></script>
	</head>
	<body></body>
</html>
{{end}}
