aboutsummaryrefslogtreecommitdiff
path: root/templates/header.tmpl
blob: e6e7f0d70655b4d537283fb09bab1cfdb0e002e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{{with .Data}}
<!DOCTYPE html>
<html lang="en">
<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}}
	<link rel="stylesheet" href="{{.CustomCSS}}">
	{{end}}
	{{if $.Ctx.FluorideMode}}
	<script src="/static/fluoride.js"></script>
	{{end}}
</head>
<body {{if $.Ctx.DarkMode}}class="dark"{{end}}>
{{end}}