mirror of
https://github.com/Xevion/glance.git
synced 2025-12-09 08:07:35 -06:00
Check if background color is nil before setting
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user