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