index.webmanifest 506 B

12345678910111213141516171819
  1. {{- $scr := .Scratch -}}
  2. {
  3. "name": "{{site.Title}}",
  4. "short_name": "{{site.Title}}",
  5. "lang": "{{site.LanguageCode}}",
  6. "theme_color": "{{ $scr.Get "primary" }}",
  7. "background_color": "{{ $scr.Get "primary" }}",
  8. "icons": [{
  9. "src": "img/icon-192.png",
  10. "sizes": "192x192",
  11. "type": "image/png"
  12. }, {
  13. "src": "img/icon-512.png",
  14. "sizes": "512x512",
  15. "type": "image/png"
  16. }],
  17. "display": "standalone",
  18. "start_url": "{{ "/" | relLangURL }}?utm_source=web_app_manifest"
  19. }