mirror of https://github.com/luizdepra/hugo-coder.git

cuso4-5h2o
26.37.2021 68580148a3395a8762e0cab09ba574ff3dbcad4e
Add the color-scheme meta tag (#523)

* Add the color-scheme meta tag

* Update CONTRIBUTORS.md
2 files modified
3 ■■■■■ changed files
CONTRIBUTORS.md 1 ●●●● patch | view | raw | blame | history
layouts/_default/baseof.html 2 ●●●●● patch | view | raw | blame | history
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)
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 }}