diff options
author | Unknwon <u@gogs.io> | 2015-03-23 10:19:19 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-03-23 10:19:19 -0400 |
commit | 2bb982dada0012d59ead783aaf90e730351171cc (patch) | |
tree | 329bd89296092d68680cf99223900d46e338eff7 /modules/middleware/context.go | |
parent | ade343f6dc2fda5d988ddb00c3a8460dd64bc42a (diff) | |
download | gitea-2bb982dada0012d59ead783aaf90e730351171cc.tar.gz gitea-2bb982dada0012d59ead783aaf90e730351171cc.zip |
#1080: Remove footer ads/branding from default template
Diffstat (limited to 'modules/middleware/context.go')
-rw-r--r-- | modules/middleware/context.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/middleware/context.go b/modules/middleware/context.go index 6095b4c042..b580de5038 100644 --- a/modules/middleware/context.go +++ b/modules/middleware/context.go @@ -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) } |