Check if background color is nil before setting
This commit is contained in:
parent
ecbad7ce6c
commit
461c984317
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
|||
<meta name="mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||
<meta name="apple-mobile-web-app-title" content="Glance">
|
||||
<meta name="theme-color" content="{{ .App.Config.Theme.BackgroundColor }}">
|
||||
<meta name="theme-color" content="{{ if ne nil .App.Config.Theme.BackgroundColor }}{{ .App.Config.Theme.BackgroundColor }}{{ else }}hsl(240, 8%, 9%){{ end }}">
|
||||
<link rel="apple-touch-icon" sizes="512x512" href="/static/app-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="512x512" href="/static/app-icon.png">
|
||||
<link rel="manifest" href="/static/manifest.json">
|
||||
|
|
Loading…
Add table
Reference in a new issue