mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-21 09:06:46 +09:00
#1080: Remove footer ads/branding from default template
This commit is contained in:
1 parent
ade343f6dc
commit
2bb982dada
10 files changed
+23
-8
No files matched your search
@@ -209,6 +209,7 @@ func Contexter() macaron.Handler {
|
||||
ctx.Data["CsrfTokenHtml"] = template.HTML(`<input type="hidden" name="_csrf" value="` + x.GetToken() + `">`)
|
||||
|
||||
ctx.Data["ShowRegistrationButton"] = setting.Service.ShowRegistrationButton
|
||||
ctx.Data["ShowFooterBranding"] = setting.ShowFooterBranding
|
||||
|
||||
c.Map(ctx)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user