Added theme-color param for mobile devices
This commit is contained in:
parent
00c2825ed8
commit
359c3a6723
|
@ -69,6 +69,7 @@ disableHugoGeneratorInject = false
|
|||
contentTypeName = "posts"
|
||||
# Default theme "light" or "dark"
|
||||
defaultTheme = "dark"
|
||||
themeColor = "#252627"
|
||||
|
||||
[params.logo]
|
||||
logoText = "$ cd /home/"
|
||||
|
|
|
@ -4,3 +4,4 @@
|
|||
<link rel="manifest" href="{{"site.webmanifest" | relURL}}">
|
||||
<link rel="mask-icon" href="{{"safari-pinned-tab.svg" | relURL}}" color="{{.Site.Params.themeColor}}">
|
||||
<link rel="shortcut icon" href="{{"favicon.ico" | relURL}}">
|
||||
<meta name="theme-color" content="{{.Site.Params.themeColor}}">
|
Loading…
Reference in New Issue