bloat/templates/header.tmpl

31 lines
894 B
Cheetah
Raw Normal View History

2020-01-14 16:57:16 +00:00
{{with .Data}}
2019-12-13 18:08:26 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset='utf-8'>
2020-10-25 11:35:22 +00:00
<link rel="icon" type="image/png" href="/static/favicon.png">
2019-12-13 18:08:26 +00:00
<meta content='width=device-width, initial-scale=1' name='viewport'>
2020-02-23 13:26:39 +00:00
{{if .Target}}
<base href="" target="{{.Target}}">
{{end}}
2020-01-25 10:07:06 +00:00
{{if .CSRFToken}}
<meta name="csrf_token" content="{{.CSRFToken}}">
{{end}}
{{if $.Ctx.AntiDopamineMode}}
<meta name="antidopamine_mode" content="{{$.Ctx.AntiDopamineMode}}">
{{end}}
{{if .RefreshInterval}}
<meta http-equiv="refresh" content="{{.RefreshInterval}}">
2020-02-18 22:15:37 +00:00
{{end}}
2020-02-26 10:27:17 +00:00
<title> {{if gt .Count 0}}({{.Count}}){{end}} {{.Title}} </title>
2020-01-28 17:51:00 +00:00
<link rel="stylesheet" href="/static/style.css">
{{if .CustomCSS}}
<link rel="stylesheet" href="{{.CustomCSS}}">
{{end}}
2020-01-14 16:57:16 +00:00
{{if $.Ctx.FluorideMode}}
2020-01-08 18:16:06 +00:00
<script src="/static/fluoride.js"></script>
{{end}}
2019-12-13 18:08:26 +00:00
</head>
2020-01-14 16:57:16 +00:00
<body {{if $.Ctx.DarkMode}}class="dark"{{end}}>
{{end}}