mirror of
https://github.com/go-gitea/gitea
synced 2025-07-05 10:07:22 +00:00
#1080: Remove footer ads/branding from default template
This commit is contained in:
@ -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