From 76c5baef6ae8f5520ab40fef48532b6b5759384f Mon Sep 17 00:00:00 2001 From: r Date: Sat, 3 Apr 2021 09:22:43 +0000 Subject: Add option for user CSS --- templates/header.tmpl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'templates/header.tmpl') diff --git a/templates/header.tmpl b/templates/header.tmpl index df2b6af..1abb6dd 100644 --- a/templates/header.tmpl +++ b/templates/header.tmpl @@ -25,6 +25,9 @@ {{if $.Ctx.FluorideMode}} {{end}} + {{if $.Ctx.UserCSS}} + + {{end}} {{end}} -- cgit v1.2.3 From 469f2d1d25f0b266abb15eab410131ebe1856aad Mon Sep 17 00:00:00 2001 From: r Date: Fri, 23 Apr 2021 10:19:09 +0000 Subject: Fix HTML escaping --- templates/header.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/header.tmpl') diff --git a/templates/header.tmpl b/templates/header.tmpl index 1abb6dd..8eb53f6 100644 --- a/templates/header.tmpl +++ b/templates/header.tmpl @@ -17,7 +17,7 @@ {{if .RefreshInterval}} {{end}} - {{if gt .Count 0}}({{.Count}}){{end}} {{.Title}} + {{if gt .Count 0}}({{.Count}}){{end}} {{.Title | html}} {{if .CustomCSS}} -- cgit v1.2.3