summaryrefslogtreecommitdiffstats
path: root/src/assets/manifest.njk
blob: 936203744b0d935937fc5317a92696fb872ba091 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
permalink: /app.webmanifest
---
{
  "$schema": "https://json.schemastore.org/web-manifest-combined.json",
  "name": "{{ metadata.title }}",
  
  "lang": "{{ metadata.language }}",
  "start_url": "/",
  "id": "/",
  "scope": "/",
  "display": "minimal-ui",
  "background_color": "{{ metadat.theme }}",
  "theme_color": "{{ metadat.theme }}",
  "description": "{{ metadata.description }}",
  "icons": [
{%- for size in [192,512,1024] %}
    { 
      "src": "/favicon/{{ size }}.png",
      "type": "image/png",
      "sizes": "{{ size }}x{{ size }}",
      "purpose": "maskable"
    }
        {%- if not loop.last -%}
    ,
    {%- endif -%}
    {%- endfor -%}
  ]
}