💄 Add support for `theme-color` meta tag

Fixes: #343
pull/379/head
James Panther 2022-11-22 09:03:23 +11:00
parent f1e6a90c2a
commit 62c4d20caa
No known key found for this signature in database
GPG Key ID: D36F789E45745D17
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,8 @@
<meta http-equiv="content-language" content="{{ . }}" /> <meta http-equiv="content-language" content="{{ . }}" />
{{ end }} {{ end }}
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#ffffff" />
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#27272a" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" /> <meta http-equiv="X-UA-Compatible" content="ie=edge" />
{{/* Title */}} {{/* Title */}}
{{ if .IsHome -}} {{ if .IsHome -}}