12 lines
393 B
Plaintext
Raw Normal View History

2016-11-19 19:53:33 +00:00
component Genres(genres []*arn.Genre)
h2 Genres
2016-11-03 07:54:30 +00:00
2016-11-19 14:54:31 +00:00
.grid
2016-11-19 19:53:33 +00:00
each genre in genres
a.grid-cell.backside-card.ajax(href="/genres/" + genre.ID)
2016-11-19 19:31:28 +00:00
.grid-text.front
2016-11-19 19:53:33 +00:00
GridIcon(arn.GetGenreIcon(genre.Name))
span= genre.Name
if len(genre.AnimeList) > 0
2016-11-19 20:11:57 +00:00
img.grid-image.back(src=genre.AnimeList[0].Image, alt=genre.AnimeList[0].Title.Romaji, title=genre.AnimeList[0].Title.Romaji)