2016-11-03 16:54:30 +09:00

15 lines
489 B
Plaintext

component GenreOverview
h2 Genres
div
each genre in Genres
a.light-button.ajax(href="/genres/" + arn.FixGenre(genre))
Icon(GenreIcons[genre])
span= genre
component AnimeInGenre(genre string, animeList []*arn.Anime)
h2= "#" + genre
.genre-anime-list
each anime in animeList
a.genre-anime-link.ajax(href="/anime/" + s(anime.ID))
img.anime-image.genre-anime-image(src=anime.Image, alt=anime.Title.Romaji, title=anime.Title.Romaji + " (" + s(anime.Watching) + ")")