исправляет проблемы с PWA из cписка Lighthouse
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-05-20 16:36:26 +03:00
parent cb1fcaee05
commit a557f77d9c
7 changed files with 2978 additions and 2 deletions

View File

@@ -4,4 +4,6 @@ import Fuse from 'fuse.js'
window.Fuse = Fuse
window.Alpine = Alpine
if ('serviceWorker' in navigator) { navigator.serviceWorker.register('/sw.js') }
Alpine.start()

View File

@@ -6,6 +6,7 @@
<title>{{ title or metadata.title }}</title>
<meta name="description" content="{{ description or metadata.description }}">
<meta name="generator" content="{{ eleventy.generator }}">
<meta name="theme-color" content="#fff"/>
<link rel="manifest" href="/manifest.json">
<link rel="stylesheet" href="/css/index.css">
{% favicon 'src/images/favicon.svg' %}

View File

@@ -4,6 +4,7 @@
"start_url": "/",
"display": "standalone",
"background_color": "#fff",
"theme_color": "#fff",
"description": "Вики с различными полезными статьями",
"icons": {% manifest_icons 'src/images/favicon.svg', 48, 72, 96, 144, 148, 512 %}
}