aboutsummaryrefslogtreecommitdiff
path: root/templates/header.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/header.tmpl')
-rw-r--r--templates/header.tmpl5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/header.tmpl b/templates/header.tmpl
index 2889ead..76831f2 100644
--- a/templates/header.tmpl
+++ b/templates/header.tmpl
@@ -7,7 +7,10 @@
{{if .CSRFToken}}
<meta name="csrf_token" content="{{.CSRFToken}}">
{{end}}
- <title>{{if gt .NotificationCount 0}}({{.NotificationCount}}) {{end}}{{.Title}}</title>
+ {{if .AutoRefresh}}
+ <meta http-equiv="refresh" content="30">
+ {{end}}
+ <title>{{.Title}}</title>
<link rel="stylesheet" href="/static/style.css">
{{if .CustomCSS}}
<link rel="stylesheet" href="{{.CustomCSS}}">