aboutsummaryrefslogtreecommitdiffstats
path: root/modules/middleware/context.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-03-23 10:19:19 -0400
committerUnknwon <u@gogs.io>2015-03-23 10:19:19 -0400
commit2bb982dada0012d59ead783aaf90e730351171cc (patch)
tree329bd89296092d68680cf99223900d46e338eff7 /modules/middleware/context.go
parentade343f6dc2fda5d988ddb00c3a8460dd64bc42a (diff)
downloadgitea-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.go1
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)
}