diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-08-11 20:14:55 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-08-11 20:14:55 +0200 |
commit | 75d5a9234353d50d90f853175bf9af5b41d42044 (patch) | |
tree | d0c252cb8ca989e39717e01770911f4944298175 /templates/infoscreen.html.ep | |
parent | 661f3d079c7643acac16ffa372c20d80ee42244b (diff) |
use asset versioning
Diffstat (limited to 'templates/infoscreen.html.ep')
-rw-r--r-- | templates/infoscreen.html.ep | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/templates/infoscreen.html.ep b/templates/infoscreen.html.ep index d634a93..a2f92e6 100644 --- a/templates/infoscreen.html.ep +++ b/templates/infoscreen.html.ep @@ -8,12 +8,13 @@ <meta http-equiv="refresh" content="<%= $self->stash('refresh_interval') %>"/> % } - %= stylesheet '/static/infoscreen.css' + % my $av = 'v1'; # asset version + %= stylesheet "/static/${av}/css/infoscreen.css" % if ($self->browser->mobile) { - %= stylesheet '/static/mobile.css' + %= stylesheet "/static/${av}/css/mobile.css" % } - %= javascript '/static/jquery-2.1.1.min.js' - %= javascript '/static/collapse.js' + %= javascript '/static/js/jquery-2.1.1.min.js' + %= javascript "/static/${av}/js/collapse.js" </head> <body> |