logo

blog

My website can't be that messy, right? git clone https://anongit.hacktivis.me/git/blog.git/
commit: be1e3a836e26c42b77ccb79dd8af075aece70fe5
parent 06d5128b0aa8818b1275d44b1dc80391b7afaf92
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Thu, 10 Apr 2025 20:37:05 +0200

templates/head: Keep meta color-scheme modification from css-naked-day

This way if the stylesheet doesn't loads you still have light/dark,
and if it loads it's still fine since the stylesheet supports light/dark.

Diffstat:

Mtemplates/head.shtml1+
Mtemplates/head.xml1+
2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/templates/head.shtml b/templates/head.shtml @@ -1,4 +1,5 @@ <meta charset="utf-8"/> + <meta name="color-scheme" content="dark light" /> <link rel="stylesheet" type="text/css" href="/css/index.css?serial=2024050801"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <link rel="vcs-git" href="https://hacktivis.me/git/blog/"/> diff --git a/templates/head.xml b/templates/head.xml @@ -1,5 +1,6 @@ <xml> <meta charset="utf-8"/> + <meta name="color-scheme" content="dark light" /> <link rel="stylesheet" type="text/css" href="/css/index.css?serial=2024050801"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <link rel="vcs-git" href="https://hacktivis.me/git/blog/"/>