Improve performance and change site name
This commit is contained in:
parent
6e257c72dd
commit
7abe8e2248
12
inc/head.inc
12
inc/head.inc
@ -5,7 +5,7 @@
|
|||||||
<meta name="theme-color" content="#2962FF">
|
<meta name="theme-color" content="#2962FF">
|
||||||
<meta name="color-scheme" content="dark light">
|
<meta name="color-scheme" content="dark light">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
|
||||||
<title>ReimarPB</title>
|
<title>Reimar</title>
|
||||||
<link rel="stylesheet" href="/assets/style/main.css" onload="linkOnloadSupported = true">
|
<link rel="stylesheet" href="/assets/style/main.css" onload="linkOnloadSupported = true">
|
||||||
<? if ($_COOKIE["theme"] == "dark") : ?>
|
<? if ($_COOKIE["theme"] == "dark") : ?>
|
||||||
<link class="theme-style" rel="stylesheet" href="/assets/style/dark-mode.css">
|
<link class="theme-style" rel="stylesheet" href="/assets/style/dark-mode.css">
|
||||||
@ -13,10 +13,10 @@
|
|||||||
<link class="theme-style" rel="stylesheet" href="/assets/style/light-mode.css">
|
<link class="theme-style" rel="stylesheet" href="/assets/style/light-mode.css">
|
||||||
<? endif ?>
|
<? endif ?>
|
||||||
<? if (!$_COOKIE["theme"]) : ?>
|
<? if (!$_COOKIE["theme"]) : ?>
|
||||||
<link class="theme-style" rel="stylesheet" href="/assets/style/detect-dark-mode.css">
|
<style>@import "/assets/style/dark-mode.css" (prefers-color-scheme: dark)</style>
|
||||||
<? endif ?>
|
<? endif ?>
|
||||||
<!--[if lt IE 6]><style>.container { box-shadow: none !important; }</style><![ENDIF]-->
|
<!--[if lt IE 6]><style>.container { box-shadow: none !important; }</style><![ENDIF]-->
|
||||||
<script src="/assets/script/compatibility.js"></script>
|
<script src="/assets/script/compatibility.js" defer></script>
|
||||||
<script src="/assets/script/navigation.js"></script>
|
<script src="/assets/script/theme.js" defer></script>
|
||||||
<script src="/assets/script/inline-code.js"></script>
|
<script src="/assets/script/navigation.js" defer></script>
|
||||||
<script src="/assets/script/theme.js"></script>
|
<script src="/assets/script/inline-code.js" defer></script>
|
||||||
|
Loading…
Reference in New Issue
Block a user