From 35ce4d5e5f0281a129e1679c12636bac99024f48 Mon Sep 17 00:00:00 2001 From: mritzmann Date: Sun, 18 Mar 2018 19:58:34 +0100 Subject: [PATCH] add manifest.json for android pwa --- .../CoreBundle/Resources/views/base.html.twig | 2 + web/manifest.json | 43 +++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 web/manifest.json diff --git a/src/Wallabag/CoreBundle/Resources/views/base.html.twig b/src/Wallabag/CoreBundle/Resources/views/base.html.twig index 2499bb887..95921877e 100644 --- a/src/Wallabag/CoreBundle/Resources/views/base.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/base.html.twig @@ -38,6 +38,8 @@ + + {% block css %} {% endblock %} {% block scripts %} diff --git a/web/manifest.json b/web/manifest.json new file mode 100644 index 000000000..cd46d6ba7 --- /dev/null +++ b/web/manifest.json @@ -0,0 +1,43 @@ +{ + "short_name": "wallabag", + "name": "Save and classify articles. Read them later. Freely.", + "icons": [ + { + "src": "wallassets/themes/_global/img/appicon/apple-touch-icon-57.png", + "type": "image/png", + "sizes": "57x57" + }, + { + "src": "wallassets/themes/_global/img/appicon/apple-touch-icon-72.png", + "type": "image/png", + "sizes": "72x72" + }, + { + "src": "wallassets/themes/_global/img/appicon/apple-touch-icon-76.png", + "type": "image/png", + "sizes": "76x76" + }, + { + "src": "wallassets/themes/_global/img/appicon/apple-touch-icon-114.png", + "type": "image/png", + "sizes": "114x114" + }, + { + "src": "wallassets/themes/_global/img/appicon/apple-touch-icon-120.png", + "type": "image/png", + "sizes": "120x120" + }, + { + "src": "wallassets/themes/_global/img/appicon/apple-touch-icon-144.png", + "type": "image/png", + "sizes": "144x144" + }, + { + "src": "wallassets/themes/_global/img/appicon/apple-touch-icon-152.png", + "type": "image/png", + "sizes": "152x152" + } + ], + "display": "standalone", + "background_color": "#FFFFFF" +}