From 68580148a3395a8762e0cab09ba574ff3dbcad4e Mon Sep 17 00:00:00 2001
From: cuso4-5h2o <cuso4mail@cuso4.me>
Date: Fri, 26 Feb 2021 17:37:45 +0000
Subject: [PATCH] Add the color-scheme meta tag (#523)
---
layouts/_default/baseof.html | 2 ++
CONTRIBUTORS.md | 1 +
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md
index 8c9faa5..0557035 100644
--- a/CONTRIBUTORS.md
+++ b/CONTRIBUTORS.md
@@ -95,3 +95,4 @@
- [Alphonse Mariya](https://github.com/alfunx)
- [Ziwei Pan](https://github.com/PanZiwei/)
- [Viktar Patotski](https://github.com/xp-vit)
+- [cuso4-5h2o](https://www.cuso4.me)
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index f28ddea..7e7b996 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -5,6 +5,8 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Language" content="{{ .Site.Language.Lang }}">
+ <meta name="color-scheme" content="light dark">
+
{{ if .Site.Params.csp }}
{{ partial "csp.html" . }}
{{ end }}
--
Gitblit v1.10.0