diff options
Diffstat (limited to 'templates/base/head_style.tmpl')
-rw-r--r-- | templates/base/head_style.tmpl | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/templates/base/head_style.tmpl b/templates/base/head_style.tmpl index 7e8cba2aed..0793eaca20 100644 --- a/templates/base/head_style.tmpl +++ b/templates/base/head_style.tmpl @@ -1,8 +1,2 @@ <link rel="stylesheet" href="{{AssetUrlPrefix}}/css/index.css?v={{AssetVersion}}"> -{{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"}} - <link rel="stylesheet" href="{{AssetUrlPrefix}}/css/theme-{{DefaultTheme | PathEscape}}.css?v={{AssetVersion}}"> -{{end}} +<link rel="stylesheet" href="{{AssetUrlPrefix}}/css/theme-{{ThemeName .SignedUser | PathEscape}}.css?v={{AssetVersion}}"> |