Fixed warning about genres

This commit is contained in:
Eduard Urbach 2017-11-10 16:13:54 +01:00
parent 24945da517
commit 7ced59128f

View File

@ -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")