0001-pwa-ship-manifest.json-template-29465.patch
combo/apps/pwa/templates/combo/manifest.json | ||
---|---|---|
1 |
{% load static %}{ |
|
2 |
"name": "{% firstof global_title "Compte Citoyen" %}", |
|
3 |
"short_name": "{% firstof global_title "Compte Citoyen" %}", |
|
4 |
"start_url": "{% firstof pwa_start_url "/" %}", |
|
5 |
{% if theme_color %} |
|
6 |
"background_color": "{{ theme_color }}", |
|
7 |
"theme_color": "{{ theme_color }}", |
|
8 |
{% endif %} |
|
9 |
{% block icons %} |
|
10 |
"icons": [ |
|
11 |
{% for icon_size in icon_sizes %} |
|
12 |
{ |
|
13 |
"sizes": "{{ icon_size }}x{{ icon_size }}", |
|
14 |
"src": "{{ site_base }}{% static "" %}{{ css_variant }}/{{ icon_prefix }}{{ icon_size }}px.png", |
|
15 |
"type": "image/png" |
|
16 |
}{% if not forloop.last %},{% endif %} |
|
17 |
{% endfor %} |
|
18 |
], |
|
19 |
{% endblock %} |
|
20 |
{% block extra %} |
|
21 |
{% endblock %} |
|
22 |
"display": "{% firstof pwa_display "browser" %}" |
|
23 |
} |
|
0 |
- |