diff options
Diffstat (limited to 'templates/header.tmpl')
-rw-r--r-- | templates/header.tmpl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/header.tmpl b/templates/header.tmpl index df2b6af..8eb53f6 100644 --- a/templates/header.tmpl +++ b/templates/header.tmpl @@ -17,7 +17,7 @@ {{if .RefreshInterval}} <meta http-equiv="refresh" content="{{.RefreshInterval}}"> {{end}} - <title> {{if gt .Count 0}}({{.Count}}){{end}} {{.Title}} </title> + <title> {{if gt .Count 0}}({{.Count}}){{end}} {{.Title | html}} </title> <link rel="stylesheet" href="/static/style.css"> {{if .CustomCSS}} <link rel="stylesheet" href="{{.CustomCSS}}"> @@ -25,6 +25,9 @@ {{if $.Ctx.FluorideMode}} <script src="/static/fluoride.js"></script> {{end}} + {{if $.Ctx.UserCSS}} + <style>{{$.Ctx.UserCSS}}</style> + {{end}} </head> <body {{if $.Ctx.DarkMode}}class="dark"{{end}}> {{end}} |