Add ID to music list

This commit is contained in:
Eduard Urbach 2017-06-27 17:05:16 +02:00
parent 622cc54845
commit 9463f1c13b

View File

@ -8,7 +8,7 @@ component Music(tracks []*arn.SoundTrack)
.sound-tracks .sound-tracks
each track in tracks each track in tracks
.sound-track .sound-track(id=track.ID)
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.Small, alt=track.MainAnime().Title.Canonical, title=track.MainAnime().Title.Canonical) img.sound-track-anime-image.lazy(data-src=track.MainAnime().Image.Small, alt=track.MainAnime().Title.Canonical, title=track.MainAnime().Title.Canonical)