diff --git a/models/repo.go b/models/repo.go index 625203c74..a0b828402 100755 --- a/models/repo.go +++ b/models/repo.go @@ -249,6 +249,7 @@ type Repository4Card struct { OwnerName string LowerName string Name string + Alias string NumWatches int NumStars int NumForks int @@ -291,6 +292,7 @@ func (repo *Repository) ToCardFormat() *Repository4Card { UpdatedUnix: repo.UpdatedUnix, PrimaryLanguage: repo.PrimaryLanguage, RelAvatarLink: r, + Alias: repo.Alias, } return result }