7 lines
341 B
Plaintext
Raw Normal View History

2017-11-12 10:18:16 +00:00
component AnimeGrid(animeList []*arn.Anime, user *arn.User)
2016-11-29 15:50:50 +00:00
.anime-grid
2016-11-23 03:44:28 +00:00
each anime in animeList
2016-11-29 15:50:50 +00:00
a.anime-grid-cell.ajax(href="/anime/" + toString(anime.ID))
2017-11-12 10:18:16 +00:00
img.anime-grid-image.lazy(data-src=anime.Image("medium"), data-webp="true", alt=anime.Title.Romaji)
2017-11-12 10:49:06 +00:00
.anime-grid-title
.anime-grid-title-text= anime.Title.ByUser(user)