7
1
mirror of https://gitlab.com/ansol/web-ansol.org.git synced 2024-11-28 08:47:42 +00:00
web-ansol.org/themes/academic/layouts/index.webmanifest

20 lines
580 B
Plaintext
Raw Normal View History

2020-06-11 11:46:16 +00:00
{{- $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"
}