13 lines
681 B
Plaintext
13 lines
681 B
Plaintext
component Music(tracks []*arn.SoundTrack)
|
|
h2.page-title Music
|
|
|
|
.sound-tracks
|
|
each track in tracks
|
|
.sound-track
|
|
a.sound-track-anime-link.ajax(href="/anime/" + track.MainAnime().ID)
|
|
img.sound-track-anime-image(src=track.MainAnime().Image.Small, alt=track.MainAnime().Title.Canonical, title=track.MainAnime().Title.Canonical)
|
|
|
|
iframe(src="https://w.soundcloud.com/player/?url=https://api.soundcloud.com/tracks/" + track.Media[0].ServiceID + "?auto_play=false&hide_related=true&show_comments=true&show_user=true&show_reposts=false&visual=true")
|
|
.sound-track-footer
|
|
span posted by
|
|
a.ajax(href=track.CreatedByUser().Link())= track.CreatedByUser().Nick |