improvements to webmanifest

This commit is contained in:
2024-07-09 08:56:49 +02:00
committed by Flo Greistorfer
parent 14b8cc5fe6
commit 1985aed2e6
3 changed files with 11 additions and 10 deletions

View File

@@ -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 }}">

View File

@@ -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",