add apple mobile web app foo

This commit is contained in:
Daniel Friesel 2019-05-03 20:59:14 +02:00
parent 709919a962
commit 5178e58c0c
2 changed files with 5 additions and 1 deletions

View file

@ -29,6 +29,6 @@
}], }],
"start_url": "/", "start_url": "/",
"display": "standalone", "display": "standalone",
"background_color": "#ffffff", "background_color": "#673ab7",
"theme_color": "#673ab7" "theme_color": "#673ab7"
} }

View file

@ -5,6 +5,10 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="#673ab7"> <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"> <link rel="manifest" href="/static/manifest.json">
% my $av = 'v10'; # asset version % my $av = 'v10'; # asset version
%= stylesheet "/static/${av}/css/materialize.min.css" %= stylesheet "/static/${av}/css/materialize.min.css"