bloat/templates/header.tmpl

24 lines
597 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'>
<meta content='width=device-width, initial-scale=1' name='viewport'>
2020-01-25 10:07:06 +00:00
{{if .CSRFToken}}
<meta name="csrf_token" content="{{.CSRFToken}}">
{{end}}
2020-02-18 22:15:37 +00:00
{{if .AutoRefresh}}
<meta http-equiv="refresh" content="30">
{{end}}
<title>{{.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}}