mirror of
https://gitlab.com/ansol/web-ansol.org.git
synced 2024-12-27 06:10:19 +00:00
20 lines
580 B
Plaintext
20 lines
580 B
Plaintext
|
{{- $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"
|
||
|
}
|