diff --git a/routers/web/home.go b/routers/web/home.go index 2e294a5c5a..4ea961c055 100644 --- a/routers/web/home.go +++ b/routers/web/home.go @@ -58,7 +58,7 @@ func Home(ctx *context.Context) { ctx.Redirect(setting.AppSubURL + "/user/login") return } - + ctx.Data["PageIsHome"] = true ctx.Data["IsRepoIndexerEnabled"] = setting.Indexer.RepoIndexerEnabled