2016-11-23 03:44:28 +00:00
|
|
|
component AnimeGrid(animeList []*arn.Anime)
|
2016-11-29 15:50:50 +00:00
|
|
|
.anime-grid
|
2016-11-23 03:44:28 +00:00
|
|
|
each anime in animeList
|
2016-11-29 15:50:50 +00:00
|
|
|
a.anime-grid-cell.ajax(href="/anime/" + toString(anime.ID))
|
2017-06-08 12:46:38 +00:00
|
|
|
img.anime-grid-image(src=anime.Image.Small, alt=anime.Title.Romaji, title=anime.Title.Romaji + " (" + toString(anime.Rating.Overall) + ")")
|