{{if UseServiceWorker}} {{else}} {{end}} {{if .IsSigned}} {{end}} {{if .ContextUser}} {{end}} {{if .SearchLimit}} {{end}} {{if .GoGetImport}} {{end}} {{if .RequireSimpleMDE}} {{end}} {{if .RequireTribute}} {{end}} {{if .RequireMinicolors}} {{end}} {{if .PageIsUserProfile}} {{if .Owner.Description}} {{end}} {{else if .Repository}} {{if .Issue}} {{if .Issue.Content}} {{end}} {{else}} {{if .Repository.Description}} {{end}} {{end}} {{else}} {{end}} {{if .IsSigned }} {{ if ne .SignedUser.Theme "gitea" }} {{end}} {{else if ne DefaultTheme "gitea"}} {{end}} {{template "custom/header" .}} {{template "custom/body_outer_pre" .}}
{{template "custom/body_inner_pre" .}} {{if .IsSigned}} {{if gt .SignedUser.MaxRepoCreation 0}} {{/* a/the ‘first-class citizen’ gets the standard gitea navigation bar */}} {{else}} {{svg "octicon-sign-out" 16}} {{end}} {{else}} {{svg "octicon-sign-in" 16}} {{end}} {{/*
*/}}