7 lines
341 B
Plaintext
7 lines
341 B
Plaintext
component AnimeGrid(animeList []*arn.Anime, user *arn.User)
|
|
.anime-grid
|
|
each anime in animeList
|
|
a.anime-grid-cell.ajax(href="/anime/" + toString(anime.ID))
|
|
img.anime-grid-image.lazy(data-src=anime.Image("medium"), data-webp="true", alt=anime.Title.Romaji)
|
|
.anime-grid-title
|
|
.anime-grid-title-text= anime.Title.ByUser(user) |