WebUIs: fix css loading order

Fixes #1628

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
Nicola Murino 2024-05-24 18:22:58 +02:00
parent c45be00963
commit 8ecb47e65f
No known key found for this signature in database
GPG key ID: 935D2952DEC4EECF

View file

@ -800,11 +800,11 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="shortcut icon" href="{{.StaticURL}}{{.Branding.FaviconPath}}" />
{{- template "fonts" . }}
{{- block "extra_css" .}}{{- end}}
{{- range .Branding.DefaultCSS}}
<link href="{{$.StaticURL}}{{.}}" rel="stylesheet" type="text/css">
{{- end}}
{{- template "globalstyle" .CSPNonce }}
{{- block "extra_css" .}}{{- end}}
{{- template "globalstyle" .CSPNonce }}
{{- range .Branding.ExtraCSS}}
<link href="{{$.StaticURL}}{{.}}" rel="stylesheet" type="text/css">
{{- end}}