Parameterize browserconfig.xml, site.webmanifest

This commit is contained in:
Will Faught
2023-03-16 18:09:30 -07:00
parent bde97e4482
commit e437482028
4 changed files with 9 additions and 5 deletions

21
assets/site.webmanifest Normal file
View File

@@ -0,0 +1,21 @@
{{- $page := . -}}
{
"name": "",
"short_name": "",
"icons": [
{
"src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "{{ $page.Param `paige.color` | default `#0d6efd` }}",
"background_color": "{{ $page.Param `paige.color` | default `#0d6efd` }}",
"display": "standalone"
}