summaryrefslogtreecommitdiff
path: root/templates/main.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/main.html.ep')
-rw-r--r--templates/main.html.ep7
1 files changed, 4 insertions, 3 deletions
diff --git a/templates/main.html.ep b/templates/main.html.ep
index 1c539fb..3c18b49 100644
--- a/templates/main.html.ep
+++ b/templates/main.html.ep
@@ -4,9 +4,10 @@
<title><%= $title %></title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- %= stylesheet '/static/main.css'
- %= javascript '/static/jquery-2.1.1.min.js'
- %= javascript '/static/image.js'
+ % my $av = 'v1'; # asset version
+ %= stylesheet "/static/${av}/css/main.css"
+ %= javascript '/static/js/jquery-2.1.1.min.js'
+ %= javascript "/static/${av}/js/image.js"
</head>
<body>