aboutsummaryrefslogtreecommitdiff
path: root/templates/header.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/header.tmpl')
-rw-r--r--templates/header.tmpl5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/header.tmpl b/templates/header.tmpl
index 8a1b0ca..713aa96 100644
--- a/templates/header.tmpl
+++ b/templates/header.tmpl
@@ -17,10 +17,13 @@
{{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="{{.CustomCSS}}">
+ <link rel="stylesheet" href="/static/{{.CustomCSS}}">
{{end}}
{{if $.Ctx.FluorideMode}}
<script src="/static/fluoride.js"></script>