12 lines
459 B
Plaintext
12 lines
459 B
Plaintext
component AnimeTracks(anime *arn.Anime, tracks []*arn.SoundTrack)
|
|
//- AnimeTabs(anime)
|
|
|
|
if len(tracks) > 0
|
|
.anime-section.mountable
|
|
h3.anime-section-name Tracks
|
|
.anime-soundtracks
|
|
each track in tracks
|
|
.anime-soundtrack.mountable(data-mountable-type="track")
|
|
.video-container
|
|
iframe.video.lazy(data-src=track.Media[0].EmbedLink(), allowfullscreen="allowfullscreen")
|
|
a.soundtrack-footer.ajax(href=track.Link())= track.Title |