Update meta theme-color in html-head.html (#527)
theme-color that works in both light and dark mode
This commit is contained in:
parent
36a7e32815
commit
1cebd589f6
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,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 name="description" content="{{ default .Summary .Description }}">
|
<meta name="description" content="{{ default .Summary .Description }}">
|
||||||
<meta name="theme-color" content="#FFFFFF">
|
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#ffffff">
|
||||||
|
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#343a40">
|
||||||
<meta name="color-scheme" content="light dark">
|
<meta name="color-scheme" content="light dark">
|
||||||
|
|
||||||
{{- with .Page.Params.BookHref -}}
|
{{- with .Page.Params.BookHref -}}
|
||||||
|
|
Loading…
Reference in a new issue