mirror of
https://github.com/greflm13/StaticGalleryBuilder.git
synced 2026-02-05 11:09:26 +00:00
added webmanifest support
This commit is contained in:
19
templates/manifest.json.j2
Normal file
19
templates/manifest.json.j2
Normal 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 }}"
|
||||
}
|
||||
Reference in New Issue
Block a user