From b51a093656298ece71d8f75ccf21af7e1ffe6be2 Mon Sep 17 00:00:00 2001 From: silverwind Date: Wed, 11 May 2022 01:31:49 +0200 Subject: [PATCH] Tidy up `` template Neiter `` nor `` require a closing slash at the end in HTML, remove it. --- templates/base/head.tmpl | 46 +++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 24 deletions(-) diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index f3dcfe8429f6a..7d64c88251d77 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" }}