diff options
author | mritzmann <github@markus-mail.com> | 2018-03-18 19:58:34 +0100 |
---|---|---|
committer | mritzmann <github@markus-mail.com> | 2018-03-18 19:58:34 +0100 |
commit | 35ce4d5e5f0281a129e1679c12636bac99024f48 (patch) | |
tree | bdeb86e1280275935b29d2a2a1eb9514cee7aabe | |
parent | 727880c950d485293e480b5b835a0490be4f0ce7 (diff) | |
download | wallabag-35ce4d5e5f0281a129e1679c12636bac99024f48.tar.gz wallabag-35ce4d5e5f0281a129e1679c12636bac99024f48.tar.zst wallabag-35ce4d5e5f0281a129e1679c12636bac99024f48.zip |
add manifest.json for android pwa
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/base.html.twig | 2 | ||||
-rw-r--r-- | web/manifest.json | 43 |
2 files changed, 45 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/base.html.twig b/src/Wallabag/CoreBundle/Resources/views/base.html.twig index 2499bb88..95921877 100644 --- a/src/Wallabag/CoreBundle/Resources/views/base.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/base.html.twig | |||
@@ -38,6 +38,8 @@ | |||
38 | 38 | ||
39 | <link rel="shortcut icon" type="image/x-icon" href="{{ asset('wallassets/themes/_global/img/appicon/favicon.ico') }}"> | 39 | <link rel="shortcut icon" type="image/x-icon" href="{{ asset('wallassets/themes/_global/img/appicon/favicon.ico') }}"> |
40 | 40 | ||
41 | <link rel="manifest" href="/manifest.json"> | ||
42 | |||
41 | {% block css %} | 43 | {% block css %} |
42 | {% endblock %} | 44 | {% endblock %} |
43 | {% block scripts %} | 45 | {% block scripts %} |
diff --git a/web/manifest.json b/web/manifest.json new file mode 100644 index 00000000..cd46d6ba --- /dev/null +++ b/web/manifest.json | |||
@@ -0,0 +1,43 @@ | |||
1 | { | ||
2 | "short_name": "wallabag", | ||
3 | "name": "Save and classify articles. Read them later. Freely.", | ||
4 | "icons": [ | ||
5 | { | ||
6 | "src": "wallassets/themes/_global/img/appicon/apple-touch-icon-57.png", | ||
7 | "type": "image/png", | ||
8 | "sizes": "57x57" | ||
9 | }, | ||
10 | { | ||
11 | "src": "wallassets/themes/_global/img/appicon/apple-touch-icon-72.png", | ||
12 | "type": "image/png", | ||
13 | "sizes": "72x72" | ||
14 | }, | ||
15 | { | ||
16 | "src": "wallassets/themes/_global/img/appicon/apple-touch-icon-76.png", | ||
17 | "type": "image/png", | ||
18 | "sizes": "76x76" | ||
19 | }, | ||
20 | { | ||
21 | "src": "wallassets/themes/_global/img/appicon/apple-touch-icon-114.png", | ||
22 | "type": "image/png", | ||
23 | "sizes": "114x114" | ||
24 | }, | ||
25 | { | ||
26 | "src": "wallassets/themes/_global/img/appicon/apple-touch-icon-120.png", | ||
27 | "type": "image/png", | ||
28 | "sizes": "120x120" | ||
29 | }, | ||
30 | { | ||
31 | "src": "wallassets/themes/_global/img/appicon/apple-touch-icon-144.png", | ||
32 | "type": "image/png", | ||
33 | "sizes": "144x144" | ||
34 | }, | ||
35 | { | ||
36 | "src": "wallassets/themes/_global/img/appicon/apple-touch-icon-152.png", | ||
37 | "type": "image/png", | ||
38 | "sizes": "152x152" | ||
39 | } | ||
40 | ], | ||
41 | "display": "standalone", | ||
42 | "background_color": "#FFFFFF" | ||
43 | } | ||