6 lines
332 B
Plaintext
6 lines
332 B
Plaintext
component Genre(genre string, animeList []*arn.Anime)
|
|
h2.genre-header= arn.Capitalize(genre)
|
|
.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) + ")") |