diff options
Diffstat (limited to 'templates/base/head.tmpl')
-rw-r--r-- | templates/base/head.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index 233cf3e1d5..39749613de 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -65,8 +65,8 @@ <meta property="og:description" content="{{MetaDescription}}"> {{end}} <meta property="og:site_name" content="{{AppName}}"> -{{if .IsSigned }} - {{ if ne .SignedUser.Theme "gitea" }} +{{if .IsSigned}} + {{if ne .SignedUser.Theme "gitea"}} <link rel="stylesheet" href="{{AssetUrlPrefix}}/css/theme-{{.SignedUser.Theme | PathEscape}}.css?v={{AssetVersion}}"> {{end}} {{else if ne DefaultTheme "gitea"}} |