summaryrefslogtreecommitdiff
path: root/templates/infoscreen.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-08-11 20:14:55 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-08-11 20:14:55 +0200
commit75d5a9234353d50d90f853175bf9af5b41d42044 (patch)
treed0c252cb8ca989e39717e01770911f4944298175 /templates/infoscreen.html.ep
parent661f3d079c7643acac16ffa372c20d80ee42244b (diff)
use asset versioning
Diffstat (limited to 'templates/infoscreen.html.ep')
-rw-r--r--templates/infoscreen.html.ep9
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>