1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Add raw, history file button, and other mirror fixes

This commit is contained in:
Unknwon
2014-10-11 18:02:48 -04:00
parent 17c1bc7383
commit 963354c5d7
21 changed files with 48 additions and 212 deletions

View File

@@ -166,7 +166,7 @@ func Home(ctx *middleware.Context) {
}
if readmeFile != nil {
ctx.Data["ReadmeInHome"] = true
ctx.Data["ReadmeInList"] = true
ctx.Data["ReadmeExist"] = true
if dataRc, err := readmeFile.Data(); err != nil {
ctx.Handle(404, "repo.SinglereadmeFile.LookupBlob", err)