diff options
author | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-06 23:14:45 +0800 |
---|---|---|
committer | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-06 23:14:45 +0800 |
commit | 4c1858c07b972e64d47218646f89b2fb5340a993 (patch) | |
tree | 60a6c80471367084c3c785f2d1686748bb63fbf4 /routers/dashboard.go | |
parent | 9cd14f97c2eac15ff15d3da3ddb95411345cbc81 (diff) | |
download | gitea-4c1858c07b972e64d47218646f89b2fb5340a993.tar.gz gitea-4c1858c07b972e64d47218646f89b2fb5340a993.zip |
navbar active status
Diffstat (limited to 'routers/dashboard.go')
-rw-r--r-- | routers/dashboard.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/routers/dashboard.go b/routers/dashboard.go index c154623820..8eda9cf248 100644 --- a/routers/dashboard.go +++ b/routers/dashboard.go @@ -16,5 +16,6 @@ func Home(r render.Render, data base.TmplData, session sessions.Session) { user.Dashboard(r, data, session) return } - r.HTML(200, "home", nil) + data["PageIsHome"] = true + r.HTML(200, "home", data) } |