1
0
Fork 0
forked from forgejo/forgejo

#1080: Remove footer ads/branding from default template

This commit is contained in:
Unknwon 2015-03-23 10:19:19 -04:00
parent ade343f6dc
commit 2bb982dada
10 changed files with 23 additions and 8 deletions

View file

@ -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)
}