v1.13.1-data: bump SITE_VERSION; drop comments from index.html
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
5de3cae599
commit
e996462231
2 changed files with 1 additions and 8 deletions
|
|
@ -5,20 +5,13 @@
|
|||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<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="#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>
|
||||
try {
|
||||
var t = localStorage.getItem("site-theme");
|
||||
document.documentElement.dataset.theme =
|
||||
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 (!location.pathname.startsWith("/admin")) {
|
||||
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.
|
||||
═══════════════════════════════════════════════════════════════ */
|
||||
|
||||
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