mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2025-12-24 02:39:20 -05:00
Merge pull request #324 from Hanser/manifest
added webmanifest to improve mobile (shortcut) experience
This commit is contained in:
BIN
cookbook/static/manifest/icon-192.png
Normal file
BIN
cookbook/static/manifest/icon-192.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.0 KiB |
BIN
cookbook/static/manifest/icon-512.png
Normal file
BIN
cookbook/static/manifest/icon-512.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.4 KiB |
21
cookbook/static/manifest/webmanifest
Normal file
21
cookbook/static/manifest/webmanifest
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"name": "Recipes",
|
||||
"description": "Application to manage, tag and search recipes.",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/static/manifest/icon-192.png",
|
||||
"type": "image/png",
|
||||
"sizes": "192x192"
|
||||
},
|
||||
{
|
||||
"src": "/static/manifest/icon-512.png",
|
||||
"type": "image/png",
|
||||
"sizes": "512x512"
|
||||
}
|
||||
],
|
||||
"start_url": "/search",
|
||||
"background_color": "#18BC9C",
|
||||
"display": "standalone",
|
||||
"scope": "/",
|
||||
"theme_color": "#18BC9C"
|
||||
}
|
||||
@@ -16,6 +16,7 @@
|
||||
<link rel="icon" type="image/png" href="{% static 'favicon.png' %}" sizes="32x32">
|
||||
<link rel="icon" type="image/png" href="{% static 'favicon.png' %}" sizes="96x96">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="{% static 'favicon.png' %}">
|
||||
<link rel="manifest" href="{% static 'manifest/webmanifest' %}">
|
||||
<meta name="msapplication-TileColor" content="#ffffff">
|
||||
<meta name="msapplication-TileImage" content="/mstile-144x144.png">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user