2016-11-23 12:44:28 +09:00

5 lines
282 B
Plaintext

component AnimeGrid(animeList []*arn.Anime)
.grid
each anime in animeList
a.grid-cell.grid-anime.ajax(href="/anime/" + toString(anime.ID))
img.anime-image.grid-image(src=anime.Image, alt=anime.Title.Romaji, title=anime.Title.Romaji + " (" + toString(anime.Watching) + ")")