From ed5a61153fb8fc2ae960a505d9ed7f8b22c8b8d5 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sat, 12 Sep 2015 07:17:37 -0400 Subject: [PATCH] fix #1629 --- gogs.go | 2 +- routers/home.go | 1 + templates/.VERSION | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gogs.go b/gogs.go index 650c01367..838f8967d 100644 --- a/gogs.go +++ b/gogs.go @@ -17,7 +17,7 @@ import ( "github.com/gogits/gogs/modules/setting" ) -const APP_VER = "0.6.11.0911 Beta" +const APP_VER = "0.6.11.0912 Beta" func init() { runtime.GOMAXPROCS(runtime.NumCPU()) diff --git a/routers/home.go b/routers/home.go index c83cab377..16d0c7c41 100644 --- a/routers/home.go +++ b/routers/home.go @@ -50,6 +50,7 @@ func Home(ctx *middleware.Context) { func Explore(ctx *middleware.Context) { ctx.Data["Title"] = ctx.Tr("explore") + ctx.Data["PageIsExplore"] = true ctx.Data["PageIsExploreRepositories"] = true page := ctx.QueryInt("page") diff --git a/templates/.VERSION b/templates/.VERSION index 793a9cf1f..4fab68fc0 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.6.11.0911 Beta \ No newline at end of file +0.6.11.0912 Beta \ No newline at end of file