Fixed warning about genres
This commit is contained in:
parent
24945da517
commit
7ced59128f
@ -1,13 +1,13 @@
|
|||||||
component Genres(genres []*arn.Genre)
|
component Genres(genres []*arn.Genre)
|
||||||
h1.page-title Genres
|
//- h1.page-title Genres
|
||||||
|
|
||||||
.genres
|
//- .genres
|
||||||
each genre in genres
|
//- each genre in genres
|
||||||
a.genre.ajax(href="/genres/" + genre.ID)
|
//- a.genre.ajax(href="/genres/" + genre.ID)
|
||||||
.genre-text.front
|
//- .genre-text.front
|
||||||
.genre-icon
|
//- .genre-icon
|
||||||
RawIcon(arn.GetGenreIcon(genre.Name))
|
//- RawIcon(arn.GetGenreIcon(genre.Name))
|
||||||
span= genre.Name
|
//- span= genre.Name
|
||||||
|
|
||||||
if len(genre.AnimeList) > 0
|
//- 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")
|
//- 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")
|
Loading…
Reference in New Issue
Block a user