mirror of
https://github.com/gogs/gogs.git
synced 2026-05-07 18:05:44 +02:00
Improve Open Graph Meta tags (#3664)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user