added webmanifest support

This commit is contained in:
2024-07-09 08:38:38 +02:00
committed by Flo Greistorfer
parent 6ef4c6ddf3
commit 14b8cc5fe6
12 changed files with 357 additions and 311 deletions

View File

@@ -0,0 +1,19 @@
{
"name": "{{ name }}",
"icons": [
{% for icon in icons -%}
{
"src": "{{ icon.src }}",
"sizes": "{{ icon.sizes }}",
"type": "{{ icon.type }}",
"purpose": "maskable"
}{% if not loop.last %},{% endif %}
{%- endfor %}
],
"id": "{{ id }}",
"start_url": "/",
"background_color": "{{ background_color }}",
"display": "standalone",
"scope": "/",
"theme_color": "{{ theme_color }}"
}