Fixed title on genre pages
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
component Genre(genre string, animeList []*arn.Anime)
|
||||
h2.genre-header= arn.Capitalize(genre)
|
||||
component Genre(genre *arn.Genre)
|
||||
h2= arn.Capitalize(genre.ID)
|
||||
.grid
|
||||
each anime in animeList
|
||||
each anime in genre.AnimeList
|
||||
a.grid-cell.grid-anime.ajax(href="/anime/" + toString(anime.ID))
|
||||
img.anime-image.grid-image(src=anime.Image, alt=anime.Title.Romaji, title=anime.Title.Romaji + " (" + toString(anime.Watching) + ")")
|
Reference in New Issue
Block a user