diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-05-03 20:59:14 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-05-03 20:59:14 +0200 |
commit | 5178e58c0ceb59d46dc3dfca59d8f35edb4791b3 (patch) | |
tree | 490da641273206dbc76e7dc1a5653b6a8b22dee6 | |
parent | 709919a9624ed4336e9e5ae382e29cd34c795a82 (diff) |
add apple mobile web app foo
-rw-r--r-- | public/static/manifest.json | 2 | ||||
-rw-r--r-- | templates/layouts/default.html.ep | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/public/static/manifest.json b/public/static/manifest.json index 7e856f2..09970d9 100644 --- a/public/static/manifest.json +++ b/public/static/manifest.json @@ -29,6 +29,6 @@ }], "start_url": "/", "display": "standalone", - "background_color": "#ffffff", + "background_color": "#673ab7", "theme_color": "#673ab7" } diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index 4877488..c7f0847 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -5,6 +5,10 @@ <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="theme-color" content="#673ab7"> + <meta name="apple-mobile-web-app-capable" content="yes"> + <meta name="apple-mobile-web-app-status-bar-style" content="black"> + <meta name="apple-mobile-web-app-title" content="Weather PWA"> + <link rel="apple-touch-icon" href="/static/icons/icon-152x152.png"> <link rel="manifest" href="/static/manifest.json"> % my $av = 'v10'; # asset version %= stylesheet "/static/${av}/css/materialize.min.css" |