mirror of
https://gitlab.com/ansol/web-ansol.org.git
synced 2024-12-25 21:30:20 +00:00
20 lines
580 B
JSON
20 lines
580 B
JSON
{{- $scr := .Scratch -}}
|
|
{
|
|
"name": "{{site.Title}}",
|
|
"short_name": "{{site.Title}}",
|
|
"lang": "{{site.LanguageCode}}",
|
|
"theme_color": "{{ $scr.Get "primary" }}",
|
|
"background_color": "{{ $scr.Get "primary" }}",
|
|
"icons": [{
|
|
"src": "{{ (partial "functions/get_icon" 192).RelPermalink }}",
|
|
"sizes": "192x192",
|
|
"type": "image/png"
|
|
}, {
|
|
"src": "{{ (partial "functions/get_icon" 512).RelPermalink }}",
|
|
"sizes": "512x512",
|
|
"type": "image/png"
|
|
}],
|
|
"display": "standalone",
|
|
"start_url": "{{ "/" | relLangURL }}?utm_source=web_app_manifest"
|
|
}
|