2016-11-19 14:54:31 +00:00
|
|
|
component Genre(genre string, animeList []*arn.Anime)
|
|
|
|
h2.genre-header= arn.Capitalize(genre)
|
|
|
|
.grid
|
|
|
|
each anime in animeList
|
2016-11-19 18:02:33 +00:00
|
|
|
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) + ")")
|