Add web app manifest (#1174)

* Add web app manifest, link to new manifest on mobile template.

* Remove duplicate manifest entry.
This commit is contained in:
Jody 2020-08-12 15:39:12 -04:00 committed by GitHub
parent 3b148eb6f8
commit 3e89855aa3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 2 deletions

View File

@ -0,0 +1,14 @@
{
"name": "Trilium",
"short_name": "Trilium",
"theme_color": "DarkGray",
"background_color": "DarkGray",
"display": "standalone",
"scope": "/",
"start_url": "/",
"icons": [{
"src": "images/app-icons/ios/apple-touch-icon.png",
"sizes": "180x180",
"type": "image/png"
}]
}

View File

@ -5,7 +5,7 @@
<link rel="shortcut icon" href="favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>Trilium Notes</title>
<link rel="apple-touch-icon" sizes="180x180" href="images/app-icons/ios/apple-touch-icon.png">
<link rel="manifest" href="manifest.webmanifest">
<style>
.lds-roller {
@ -140,4 +140,4 @@
<link rel="stylesheet" type="text/css" href="libraries/boxicons/css/boxicons.min.css">
</body>
</html>
</html>