13 lines
435 B
Plaintext
Raw Normal View History

2016-11-19 19:53:33 +00:00
component Genres(genres []*arn.Genre)
2017-07-06 20:23:32 +00:00
h1.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")