mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-30 15:22:09 +00:00
6a47371a05
- Drop copyright symbol: I put it there because certain programs explicitly look for it, but between rel=license, schema.org microdata, and creative commons RDFa, I think scrapers should be covered. - Update the theme-color and friends to work with my site's updated dark theme.
48 lines
1.4 KiB
JSON
48 lines
1.4 KiB
JSON
{{- $192png := resources.Get "/apple-touch-icon.png" | resources.Fingerprint "md5" }}
|
|
{{- $512png := resources.Get "/favicon512.png" | resources.Fingerprint "md5" }}
|
|
{{- $1024svg := resources.Get "/favicon.svg" | resources.Fingerprint "md5" }}
|
|
{{- $maskablesvg := resources.Get "/maskable_android.svg" | resources.Fingerprint "md5" -}}
|
|
{{- $monochromesvg := resources.Get "/monochrome.svg" | resources.Fingerprint "md5" -}}
|
|
{
|
|
"name": "{{site.Title}}",
|
|
"short_name": "Seirdy",
|
|
"description": "{{ .Site.Params.Description }}",
|
|
"lang": "en-US",
|
|
"display": "minimal-ui",
|
|
"theme_color": "#191919",
|
|
"background_color": "#191919",
|
|
"scope": "/",
|
|
"start_url": "/",
|
|
"icons": [
|
|
{
|
|
"src": "{{ $192png.Permalink }}",
|
|
"sizes": "192x192",
|
|
"type": "image/png",
|
|
"purpose": "any"
|
|
},
|
|
{
|
|
"src": "{{ $512png.Permalink }}",
|
|
"sizes": "512x512",
|
|
"type": "image/png",
|
|
"purpose": "any"
|
|
},
|
|
{
|
|
"src": "{{ $1024svg.Permalink }}",
|
|
"sizes": "1024x1024 512x512 384x384 192x192 180x180 152x152 112x112 56x56",
|
|
"type": "image/svg+xml",
|
|
"purpose": "any"
|
|
},
|
|
{
|
|
"src": "{{ $maskablesvg.Permalink }}",
|
|
"sizes": "1024x1024 512x512 384x384 192x192 180x180 152x152",
|
|
"type": "image/svg+xml",
|
|
"purpose": "maskable"
|
|
},
|
|
{
|
|
"src": "{{ $monochromesvg.Permalink }}",
|
|
"sizes": "1024x1024 512x512 384x384 192x192 180x180 152x152",
|
|
"type": "image/svg+xml",
|
|
"purpose": "monochrome"
|
|
}
|
|
]
|
|
}
|