diff --git a/lib/modules/gitea/templates/base/head.tmpl b/lib/modules/gitea/templates/base/head.tmpl index 2873d33..89e658c 100644 --- a/lib/modules/gitea/templates/base/head.tmpl +++ b/lib/modules/gitea/templates/base/head.tmpl @@ -1,17 +1,13 @@ - {{if .Title}}{{.Title | RenderEmojiPlain}} - {{end}}{{if .Repository.Name}}{{.Repository.Name}} - {{end}}{{AppName}} {{if .ManifestData}}{{end}} - {{if ThemeColorMetaTag}}{{end}} - - {{if .GoGetImport}} @@ -22,7 +18,6 @@ {{end}} - {{template "base/head_script" .}} {{if .PageIsUserProfile}} - + - - - {{if .Owner.Description}} - + + + {{if .ContextUser.Description}} + {{end}} {{else if .Repository}} {{if .Issue}} @@ -65,15 +60,9 @@ {{end}} - -{{if .IsSigned}} - {{if ne .SignedUser.Theme "gitea"}} - - {{end}} -{{else if ne DefaultTheme "gitea"}} - -{{end}} -{{template "custom/header" .}} + + {{template "base/head_style" .}} + {{template "custom/header" .}} {{template "custom/body_outer_pre" .}} @@ -83,10 +72,8 @@ {{template "custom/body_inner_pre" .}} - {{if and (not .PageIsInstall) .IsSigned }} - + {{if and (not .PageIsInstall) .IsSigned}} + {{template "base/head_navbar" .}} {{end}} {{if false}} @@ -94,4 +81,4 @@ -{{end}} +{{end}} \ No newline at end of file diff --git a/lib/modules/gitea/templates/explore/navbar.tmpl b/lib/modules/gitea/templates/explore/navbar.tmpl index fc7c15f..6c95d19 100644 --- a/lib/modules/gitea/templates/explore/navbar.tmpl +++ b/lib/modules/gitea/templates/explore/navbar.tmpl @@ -1,4 +1,4 @@ - \ No newline at end of file