diff --git a/routers/routes/routes.go b/routers/routes/routes.go index 4f1f6f314..c8f0d251c 100755 --- a/routers/routes/routes.go +++ b/routers/routes/routes.go @@ -305,7 +305,7 @@ func RegisterRoutes(m *macaron.Macaron) { m.Head("/", func() string { return "" }) - m.Get("/", routers.ExploreRepos) + m.Get("/", routers.Dashboard) m.Get("/dashboard", routers.Dashboard) m.Group("/explore", func() { m.Get("", func(ctx *context.Context) { diff --git a/templates/base/head_navbar.tmpl b/templates/base/head_navbar.tmpl index 11dab3717..37c6e5b15 100755 --- a/templates/base/head_navbar.tmpl +++ b/templates/base/head_navbar.tmpl @@ -31,7 +31,7 @@ {{else if .IsLandingPageHome}} - {{.i18n.Tr "home"}} + {{.i18n.Tr "home"}} {{.i18n.Tr "custom.head.openi"}} {{else if .IsLandingPageHome}} - {{.i18n.Tr "home"}} + {{.i18n.Tr "home"}} {{.i18n.Tr "custom.head.openi"}}