diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-05-03 21:02:24 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-05-03 21:02:24 +0200 |
commit | cdbb3ee45bade7dbd8158b04dec766bf6f01e8cf (patch) | |
tree | eb1bb9493687e00af22da87aa5fa8c3ef8708496 /templates/layouts/default.html.ep | |
parent | 5178e58c0ceb59d46dc3dfca59d8f35edb4791b3 (diff) |
use versioning for service worker and web app manifest
Diffstat (limited to 'templates/layouts/default.html.ep')
-rw-r--r-- | templates/layouts/default.html.ep | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index c7f0847..8b81a5e 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -8,9 +8,9 @@ <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 + % my $av = 'v11'; # asset version + <link rel="apple-touch-icon" href="/static/<%= $av %>/icons/icon-152x152.png"> + <link rel="manifest" href="/static/<%= $av %>/manifest.json"> %= stylesheet "/static/${av}/css/materialize.min.css" %= stylesheet "/static/${av}/css/material-icons.css" %= stylesheet "/static/${av}/css/local.css" |