This commit is contained in:
2018-03-21 20:22:57 +01:00
parent 71d6f8c45a
commit 663d93c188
8 changed files with 126 additions and 223 deletions

View File

@ -9,6 +9,7 @@ component AnimeEditorList(animes []*arn.Anime, pageURI string, generateSearchLin
thead
tr.mountable
th(title="Popularity") Pop.
th Image
th Title
th Type
th Year
@ -19,6 +20,8 @@ component AnimeEditorList(animes []*arn.Anime, pageURI string, generateSearchLin
each anime in animes
tr.mountable
td= anime.Popularity.Total()
td
img.anime-list-item-image.lazy(data-src=anime.ImageLink("small"), data-webp="true", data-color=anime.AverageColor(), alt=anime.Title.Canonical)
td
a(href=anime.Link(), target="_blank", rel="noopener")= anime.Title.Canonical
td= anime.Type