1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-10 00:12:09 +00:00

HEAD: Fix outdated theme-color, missing whitespace

This commit is contained in:
Rohan Kumar 2022-05-11 10:02:15 -07:00
parent 7a3aee1539
commit 5a1782f1ee
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -35,10 +35,10 @@
{{- printf `<link rel="icon" sizes="192x192" href="%s" type="image/png">` $icon_192.RelPermalink | safeHTML -}}
{{ $favicon := resources.Get "/favicon.png" -}}
{{ $favicon_base64 := $favicon.Content | base64Encode }}
{{ printf `<link rel="icon" sizes="32x32" href="data:image/png;base64,%s" type="image/png">` $favicon_base64 | safeHTML -}}
{{ printf `<link rel="icon" sizes="32x32" href="data:image/png;base64,%s" type="image/png">` $favicon_base64 | safeHTML }}
<meta name="color-scheme" content="light dark">
<meta name="format-detection" content="telephone=no"><!-- Why does apple do this -->
<meta name="theme-color" content="#0f0f0b" media="(prefers-color-scheme:dark)">
<meta name="theme-color" content="#111" media="(prefers-color-scheme:dark)">
<meta name="theme-color" content="#fff" media="(prefers-color-scheme:light)">
<!-- inline CSS; remember to allow it with a hash in the CSP -->
{{- $resources := slice -}}