Added webp to soundtracks
This commit is contained in:
parent
6e0b8b3ce9
commit
e2bca4dce2
@ -10,7 +10,7 @@ component SoundTrackContent(track *arn.SoundTrack, media *arn.ExternalMedia)
|
|||||||
.sound-track-content
|
.sound-track-content
|
||||||
if track.MainAnime() != nil
|
if track.MainAnime() != nil
|
||||||
a.sound-track-anime-link.ajax(href="/anime/" + track.MainAnime().ID)
|
a.sound-track-anime-link.ajax(href="/anime/" + track.MainAnime().ID)
|
||||||
img.sound-track-anime-image.lazy(data-src=track.MainAnime().Image("medium"), alt=track.MainAnime().Title.Canonical, title=track.MainAnime().Title.Canonical)
|
img.sound-track-anime-image.lazy(data-src=track.MainAnime().Image("medium"), data-webp="true", alt=track.MainAnime().Title.Canonical, title=track.MainAnime().Title.Canonical)
|
||||||
|
|
||||||
ExternalMedia(media)
|
ExternalMedia(media)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user