Files
gerbeur/index.html

37 lines
2.4 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg?v=__ICON_VERSION__" />
<link rel="icon" href="/favicon.ico?v=__ICON_VERSION__" sizes="any" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png?v=__ICON_VERSION__" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png?v=__ICON_VERSION__" />
<link rel="icon" type="image/png" sizes="96x96" href="/favicon-96x96.png?v=__ICON_VERSION__" />
<link rel="icon" type="image/png" sizes="192x192" href="/favicon-192x192.png?v=__ICON_VERSION__" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Keeps the Dark Reader extension off the page, which has dark palettes
of its own: it rewrites the stylesheet's colors, and its rewrite of
the fallback the build gives every light-dark() leaves them all
invalid under a dark system theme, so no background is painted. -->
<meta name="darkreader-lock" />
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#01152a" />
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#faf5e9" />
<meta name="site-name" content="__SITE_NAME__" />
<meta name="site-emoji" content="__SITE_EMOJI__" />
<meta name="bandcamp-player" content="__BANDCAMP_PLAYER__" />
<meta name="default-style" content="__DEFAULT_STYLE__" />
<meta name="email-enabled" content="__EMAIL_ENABLED__" />
<meta name="federation-incoming" content="__FEDERATION_INCOMING__" />
<meta name="federation-outgoing" content="__FEDERATION_OUTGOING__" />
<link rel="manifest" href="/manifest.webmanifest?v=__ICON_VERSION__" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png?v=__ICON_VERSION__" />
<title>__SITE_NAME__</title>
</head>
<body>
<div id="root"></div>
<script>(function(){var d=document.querySelector('meta[name="default-style"]'),s=localStorage.getItem("style");if(!s||s==="default")s=d&&d.content;var c=localStorage.getItem("color-scheme");if(s&&s!=="smooth"&&s.indexOf("__")!==0)document.documentElement.setAttribute("data-style",s);if(c&&c!=="auto")document.documentElement.setAttribute("data-color-scheme",c);})();</script>
<script>if ('serviceWorker' in navigator) navigator.serviceWorker.register('/sw.js');</script>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>