This commit is contained in:
@@ -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>
|
||||
|
3
src/pages/manifset.11tydata.js
Normal file
3
src/pages/manifset.11tydata.js
Normal file
@@ -0,0 +1,3 @@
|
||||
module.exports = {
|
||||
permalink: '/manifest.json'
|
||||
}
|
9
src/pages/manifset.njk
Normal file
9
src/pages/manifset.njk
Normal 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 %}
|
||||
}
|
Reference in New Issue
Block a user