Improve Open Graph Meta tags (#3664)

This commit is contained in:
Unknwon
2017-02-11 00:03:10 -05:00
parent 4a1dc29e23
commit 0958fe5a4e
4 changed files with 26 additions and 8 deletions

View File

@@ -242,7 +242,7 @@ func RepoAssignment(args ...bool) macaron.Handler {
tags, err := ctx.Repo.GitRepo.GetTags()
if err != nil {
ctx.Handle(500, fmt.Sprintf("GetTags '%d'", ctx.Repo.Repository.RepoPath()), err)
ctx.Handle(500, fmt.Sprintf("GetTags '%s'", ctx.Repo.Repository.RepoPath()), err)
return
}
ctx.Data["Tags"] = tags