bloat/templates/header.tmpl

18 lines
507 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'>
<title>{{if gt .NotificationCount 0}}({{.NotificationCount}}) {{end}}{{.Title}}</title>
<link rel="stylesheet" href="/static/main.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}}