Skip to content

Commit 6858014

Browse files
author
cuso4-5h2o
authored
Add the color-scheme meta tag (luizdepra#523)
* Add the color-scheme meta tag * Update CONTRIBUTORS.md
1 parent db24d7e commit 6858014

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CONTRIBUTORS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,4 @@
9595
- [Alphonse Mariya](https://github.com/alfunx)
9696
- [Ziwei Pan](https://github.com/PanZiwei/)
9797
- [Viktar Patotski](https://github.com/xp-vit)
98+
- [cuso4-5h2o](https://www.cuso4.me)

layouts/_default/baseof.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
<meta charset="utf-8">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
<meta http-equiv="Content-Language" content="{{ .Site.Language.Lang }}">
8+
<meta name="color-scheme" content="light dark">
9+
810
{{ if .Site.Params.csp }}
911
{{ partial "csp.html" . }}
1012
{{ end }}

0 commit comments

Comments
 (0)