diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl
index f3dcfe8429..7d64c88251 100644
--- a/templates/base/head.tmpl
+++ b/templates/base/head.tmpl
@@ -4,13 +4,13 @@
{{if .Title}}{{.Title | RenderEmojiPlain}} - {{end}} {{if .Repository.Name}}{{.Repository.Name}} - {{end}}{{AppName}}
-
+
-
-
-
+
+
+
-
+
{{if .GoGetImport}}
@@ -22,9 +22,7 @@
-
{{template "base/head_script" .}}
-
{{if .PageIsUserProfile}}
-
-
-
-
+
+
+
+
{{if .Owner.Description}}
{{end}}
{{else if .Repository}}
{{if .Issue}}
-
-
+
+
{{if .Issue.Content}}
-
+
{{end}}
{{else}}
-
-
+
+
{{if .Repository.Description}}
-
+
{{end}}
{{end}}
-
+
{{if .Repository.AvatarLink}}
-
+
{{else}}
-
+
{{end}}
{{else}}
-
-
-
+
+
+
{{end}}
-
+
{{if .IsSigned }}
{{ if ne .SignedUser.Theme "gitea" }}