2017-06-08 01:14:45 +02:00

13 lines
435 B
Plaintext

component Genres(genres []*arn.Genre)
h2.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")