Restrict instance level custom CSS to static directory

This commit is contained in:
r 2023-10-15 15:46:54 +00:00
parent 927072e26a
commit ed521dd33d
3 changed files with 2 additions and 10 deletions

View file

@ -20,7 +20,7 @@
<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>