Add the color-scheme meta tag (#523)

* Add the color-scheme meta tag

* Update CONTRIBUTORS.md
This commit is contained in:
cuso4-5h2o
2021-02-27 01:37:45 +08:00
committed by GitHub
parent db24d7ed17
commit 68580148a3
2 changed files with 3 additions and 0 deletions

View File

@@ -95,3 +95,4 @@
- [Alphonse Mariya](https://github.com/alfunx) - [Alphonse Mariya](https://github.com/alfunx)
- [Ziwei Pan](https://github.com/PanZiwei/) - [Ziwei Pan](https://github.com/PanZiwei/)
- [Viktar Patotski](https://github.com/xp-vit) - [Viktar Patotski](https://github.com/xp-vit)
- [cuso4-5h2o](https://www.cuso4.me)

View File

@@ -5,6 +5,8 @@
<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">
<meta http-equiv="Content-Language" content="{{ .Site.Language.Lang }}"> <meta http-equiv="Content-Language" content="{{ .Site.Language.Lang }}">
<meta name="color-scheme" content="light dark">
{{ if .Site.Params.csp }} {{ if .Site.Params.csp }}
{{ partial "csp.html" . }} {{ partial "csp.html" . }}
{{ end }} {{ end }}