Added theme-color param for mobile devices

This commit is contained in:
Reijnn 2019-02-27 12:46:39 +01:00
parent 00c2825ed8
commit 359c3a6723
2 changed files with 2 additions and 0 deletions

View File

@ -69,6 +69,7 @@ disableHugoGeneratorInject = false
contentTypeName = "posts"
# Default theme "light" or "dark"
defaultTheme = "dark"
themeColor = "#252627"
[params.logo]
logoText = "$ cd /home/"

View File

@ -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}}">