13 lines
435 B
Plaintext
Raw Normal View History

2016-11-19 19:53:33 +00:00
component Genres(genres []*arn.Genre)
2017-06-07 23:14:45 +00:00
h2.page-title Genres
2016-11-03 07:54:30 +00:00
2016-11-29 15:50:50 +00:00
.genres
2016-11-19 19:53:33 +00:00
each genre in genres
2016-11-29 15:50:50 +00:00
a.genre.ajax(href="/genres/" + genre.ID)
.genre-text.front
.genre-icon
RawIcon(arn.GetGenreIcon(genre.Name))
span= genre.Name
2016-11-19 19:53:33 +00:00
2016-11-29 15:50:50 +00:00
if len(genre.AnimeList) > 0
img.genre-image.back(src=genre.AnimeList[0].Image, alt=genre.AnimeList[0].Title.Romaji, title=genre.AnimeList[0].Title.Romaji + "\n" + genre.Name + " #1")