добавил манифест
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-05-20 16:03:17 +03:00
parent 798e1dad20
commit 208de91476
5 changed files with 52 additions and 4 deletions

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 }}">
<link rel="manifest" href="/manifest.json">
<link rel="stylesheet" href="/css/index.css">
{% favicon 'src/images/favicon.svg' %}
</head>

View File

@@ -0,0 +1,3 @@
module.exports = {
permalink: '/manifest.json'
}

9
src/pages/manifset.njk Normal file
View File

@@ -0,0 +1,9 @@
{
"name": "{{ metadata.title }}",
"lang": "ru",
"start_url": "/",
"display": "standalone",
"background_color": "#fff",
"description": "Вики с различными полезными статьями",
"icons": {% manifest_icons 'src/images/favicon.svg', 48, 72, 96, 144, 148 %}
}