Add Web App Manifest

This commit is contained in:
vimux 2018-03-12 21:28:20 +03:00
parent 588887cbc2
commit 8f44cab641
2 changed files with 17 additions and 0 deletions

View file

@ -13,6 +13,7 @@
<link rel="stylesheet" href="{{ "css/main.css" | relURL }}"> <link rel="stylesheet" href="{{ "css/main.css" | relURL }}">
<link rel="icon" href="{{ "icons/16.png" | relURL }}" sizes="16x16" type="image/png"> <link rel="icon" href="{{ "icons/16.png" | relURL }}" sizes="16x16" type="image/png">
<link rel="icon" href="{{ "icons/32.png" | relURL }}" sizes="32x32" type="image/png"> <link rel="icon" href="{{ "icons/32.png" | relURL }}" sizes="32x32" type="image/png">
<link rel="manifest" href="{{ "manifest.json" | relURL }}">
{{ template "_internal/google_analytics_async.html" . }} {{ template "_internal/google_analytics_async.html" . }}
</head> </head>
<body> <body>

16
static/manifest.json Normal file
View file

@ -0,0 +1,16 @@
{
"background_color": "#2a2a2a",
"theme_color": "#1b1b1b",
"icons": [
{
"src": "icons/192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "icons/512.png",
"sizes": "512x512",
"type": "image/png"
}
]
}