aboutsummaryrefslogtreecommitdiff
path: root/templates/header.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/header.tmpl')
-rw-r--r--templates/header.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/header.tmpl b/templates/header.tmpl
index 571008a..e6e7f0d 100644
--- a/templates/header.tmpl
+++ b/templates/header.tmpl
@@ -4,6 +4,9 @@
<head>
<meta charset='utf-8'>
<meta content='width=device-width, initial-scale=1' name='viewport'>
+ {{if .CSRFToken}}
+ <meta name="csrf_token" content="{{.CSRFToken}}">
+ {{end}}
<title>{{if gt .NotificationCount 0}}({{.NotificationCount}}) {{end}}{{.Title}}</title>
<link rel="stylesheet" href="/static/main.css">
{{if .CustomCSS}}