mirror of
https://github.com/greflm13/StaticGalleryBuilder.git
synced 2026-02-05 02:59:27 +00:00
improvements to webmanifest
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{ title }}</title>
|
||||
{%- if webmanifest %}
|
||||
<link rel="manifest" href="/manifest.json">
|
||||
<link rel="manifest" href="/.static/manifest.json">
|
||||
{%- endif %}
|
||||
<link rel="icon" type="image/x-icon" href="{{ favicon }}">
|
||||
<link rel="stylesheet" href="{{ stylesheet }}">
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
{
|
||||
"name": "{{ name }}",
|
||||
"short_name": "{{ short_name }}",
|
||||
"description": "{{ name }} - A static web gallery - made with StaticGalleryBuilder (https://github.com/greflm13/StaticGalleryBuilder)",
|
||||
"icons": [
|
||||
{% for icon in icons -%}
|
||||
{
|
||||
@@ -10,7 +12,7 @@
|
||||
}{% if not loop.last %},{% endif %}
|
||||
{%- endfor %}
|
||||
],
|
||||
"id": "{{ id }}",
|
||||
"id": "/",
|
||||
"start_url": "/",
|
||||
"background_color": "{{ background_color }}",
|
||||
"display": "standalone",
|
||||
|
||||
Reference in New Issue
Block a user