Parameterize browserconfig.xml, site.webmanifest
This commit is contained in:
21
assets/site.webmanifest
Normal file
21
assets/site.webmanifest
Normal 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"
|
||||
}
|
Reference in New Issue
Block a user