v1.13.1-data: links/redirects, captions, partner picks, Plausible reports, migration baseline #28
2 changed files with 1 additions and 8 deletions
|
|
@ -5,20 +5,13 @@
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title><!-- site:title --></title>
|
<title><!-- site:title --></title>
|
||||||
<!-- The browser chrome around the page, for each mode. -->
|
|
||||||
<meta name="theme-color" content="#073d4a" media="(prefers-color-scheme: light)" />
|
<meta name="theme-color" content="#073d4a" media="(prefers-color-scheme: light)" />
|
||||||
<meta name="theme-color" content="#0c1d21" media="(prefers-color-scheme: dark)" />
|
<meta name="theme-color" content="#0c1d21" media="(prefers-color-scheme: dark)" />
|
||||||
<!-- Theme before first paint, so a dark visitor never sees a white
|
|
||||||
flash: this browser's choice (ThemeToggle), else the system;
|
|
||||||
and the accessibility choices, for the same reason. -->
|
|
||||||
<script>
|
<script>
|
||||||
try {
|
try {
|
||||||
var t = localStorage.getItem("site-theme");
|
var t = localStorage.getItem("site-theme");
|
||||||
document.documentElement.dataset.theme =
|
document.documentElement.dataset.theme =
|
||||||
t === "dark" || t === "light" ? t : matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
|
t === "dark" || t === "light" ? t : matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
|
||||||
// The accessibility panel's choices (AccessibilityPanel.tsx).
|
|
||||||
// Reading and color blind modes are for the public pages: the
|
|
||||||
// admin edits colors and layout, which they would hide.
|
|
||||||
if (localStorage.getItem("site-font") === "dyslexic") document.documentElement.dataset.font = "dyslexic";
|
if (localStorage.getItem("site-font") === "dyslexic") document.documentElement.dataset.font = "dyslexic";
|
||||||
if (!location.pathname.startsWith("/admin")) {
|
if (!location.pathname.startsWith("/admin")) {
|
||||||
if (localStorage.getItem("site-reading") === "on") document.documentElement.dataset.reading = "on";
|
if (localStorage.getItem("site-reading") === "on") document.documentElement.dataset.reading = "on";
|
||||||
|
|
|
||||||
|
|
@ -7,4 +7,4 @@
|
||||||
box or a build banner can read the same value later.
|
box or a build banner can read the same value later.
|
||||||
═══════════════════════════════════════════════════════════════ */
|
═══════════════════════════════════════════════════════════════ */
|
||||||
|
|
||||||
export const SITE_VERSION = "NGU-Web.v1.13.0-data";
|
export const SITE_VERSION = "NGU-Web.v1.13.1-data";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue