Activated webp images on search

This commit is contained in:
Eduard Urbach 2017-11-10 17:31:30 +01:00
parent 0ce237aeae
commit ee1b3f6edf

View File

@ -13,7 +13,7 @@ component SearchResults(term string, users []*arn.User, animes []*arn.Anime, pos
else
each anime in animes
a.profile-watching-list-item.mountable.ajax(href=anime.Link(), title=anime.Title.Canonical, data-mountable-type="anime")
img.anime-cover-image.anime-search-result(src=anime.Image("small"), alt=anime.Title.Canonical)
img.anime-cover-image.anime-search-result(src=anime.Image("small"), data-webp="true", alt=anime.Title.Canonical)
.widget
h3.widget-title