diff --git a/routers/routes/routes.go b/routers/routes/routes.go index 7237fedff..e8e33104d 100755 --- a/routers/routes/routes.go +++ b/routers/routes/routes.go @@ -285,7 +285,7 @@ func RegisterRoutes(m *macaron.Macaron) { m.Head("/", func() string { return "" }) - m.Get("/", routers.Home) + m.Get("/", routers.ExploreRepos) m.Get("/dashboard", routers.Dashboard) m.Group("/explore", func() { m.Get("", func(ctx *context.Context) { diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index ce5d9892d..4392e5536 100755 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -176,6 +176,15 @@ {{end}} {{template "custom/header" .}} + {{template "custom/body_outer_pre" .}}