summaryrefslogtreecommitdiff
path: root/cgi/templates/layouts/default.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2013-02-10 16:39:10 +0100
committerDaniel Friesel <derf@finalrewind.org>2013-02-10 16:39:10 +0100
commit00d2c8eac5bcf13579c75fa4a5ccfd117b4d2adf (patch)
treec010b75f8d9cfd5531b5a5a7dc24e67339248a13 /cgi/templates/layouts/default.html.ep
parent945379f1ca34642556bccefe637c3d444d893210 (diff)
automatically refresh display after cache expiry
Diffstat (limited to 'cgi/templates/layouts/default.html.ep')
-rw-r--r--cgi/templates/layouts/default.html.ep3
1 files changed, 3 insertions, 0 deletions
diff --git a/cgi/templates/layouts/default.html.ep b/cgi/templates/layouts/default.html.ep
index 09a17c0..6e46cdc 100644
--- a/cgi/templates/layouts/default.html.ep
+++ b/cgi/templates/layouts/default.html.ep
@@ -4,6 +4,9 @@
<head>
<title><%= $title %></title>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
+% if ($self->stash('refresh_interval')) {
+ <meta http-equiv="refresh" content="<%= $self->stash('refresh_interval') %>"/>
+% }
<style type="text/css">
html {