website/inc/head.inc

26 lines
1.6 KiB
PHP
Raw Permalink Normal View History

2022-07-10 10:20:04 +01:00
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=yes, initial-scale=1.0, maximum-scale=5.0, minimum-scale=1.0">
<meta name="author" content="Reimar">
<meta name="description" content="Reimar's epic site">
<meta name="theme-color" content="#2962FF">
<meta name="color-scheme" content="dark light">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<title>Reimar</title>
2022-07-10 10:20:04 +01:00
<link rel="stylesheet" href="/assets/style/main.css" onload="linkOnloadSupported = true">
<link class="theme-style" rel="<?= $_COOKIE["theme"] ? "alternate " : "" ?>stylesheet" href="assets/style/detect-dark-mode.css" data-theme="auto" title="Auto">
<link class="theme-style" rel="<?= $_COOKIE["theme"] != "light" ? "alternate " : "" ?>stylesheet" href="/assets/style/light-mode.css" data-theme="light" title="Light">
<link class="theme-style" rel="<?= $_COOKIE["theme"] != "dark" ? "alternate " : "" ?>stylesheet" href="/assets/style/dark-mode.css" data-theme="dark" title="Dark">
<!--[if lt IE 6]><style>.container { box-shadow: none !important; }</style><![endif]-->
<!--[if lte IE 9]>
<script src="/assets/script/compatibility.js"></script>
<script src="/assets/script/theme.js"></script>
<script src="/assets/script/navigation.js"></script>
<script src="/assets/script/inline-code.js"></script>
<![endif]-->
<!--[if gt IE 10]><!-->
<script src="/assets/script/compatibility.js" defer></script>
<script src="/assets/script/theme.js" defer></script>
<script src="/assets/script/navigation.js" defer></script>
<script src="/assets/script/inline-code.js" defer></script>
<!--<![endif]-->