mirror of
https://git.freesoftwareextremist.com/bloat
synced 2024-10-30 03:50:34 +00:00
1d61f1aa27
This uses better color contrast and component spacing to improve legibility. The updated HTML also has better compatibility with browsers with limited/no CSS support.
36 lines
1 KiB
Cheetah
36 lines
1 KiB
Cheetah
{{with .Data}}
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset='utf-8'>
|
|
<link rel="icon" type="image/png" href="/static/favicon.png">
|
|
<meta content='width=device-width, initial-scale=1' name='viewport'>
|
|
{{if .Target}}
|
|
<base href="" target="{{.Target}}">
|
|
{{end}}
|
|
{{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}}">
|
|
{{end}}
|
|
{{if $.Ctx.DarkMode}}
|
|
<meta name="color-scheme" content="dark">
|
|
{{end}}
|
|
<title> {{if gt .Count 0}}({{.Count}}){{end}} {{.Title}} </title>
|
|
<link rel="stylesheet" href="/static/style.css">
|
|
{{if .CustomCSS}}
|
|
<link rel="stylesheet" href="/static/{{.CustomCSS}}">
|
|
{{end}}
|
|
{{if $.Ctx.FluorideMode}}
|
|
<script src="/static/fluoride.js"></script>
|
|
{{end}}
|
|
{{if $.Ctx.UserCSS}}
|
|
<style>{{RawCSS $.Ctx.UserCSS}}</style>
|
|
{{end}}
|
|
</head>
|
|
<body {{if $.Ctx.DarkMode}}class="dark"{{end}}>
|
|
{{end}}
|