2017-07-06 22:23:32 +02:00

13 lines
435 B
Plaintext

component Genres(genres []*arn.Genre)
h1.page-title Genres
.genres
each genre in genres
a.genre.ajax(href="/genres/" + genre.ID)
.genre-text.front
.genre-icon
RawIcon(arn.GetGenreIcon(genre.Name))
span= genre.Name
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")