diff --git a/routes/repo/commit.go b/routes/repo/commit.go index 17ea5dbe3..9069f44eb 100644 --- a/routes/repo/commit.go +++ b/routes/repo/commit.go @@ -45,6 +45,7 @@ func RenderIssueLinks(oldCommits *list.List, repoLink string) *list.List { func renderCommits(c *context.Context, filename string) { c.Data["Title"] = c.Tr("repo.commits.commit_history") + " ยท " + c.Repo.Repository.FullName() c.Data["PageIsCommits"] = true + c.Data["FileName"] = filename page := c.QueryInt("page") if page < 1 {