13 lines
405 B
Plaintext
13 lines
405 B
Plaintext
component AnimeTracks(anime *arn.Anime, tracks []*arn.SoundTrack, user *arn.User, standAlonePage bool)
|
|
if standAlonePage
|
|
h1.mountable
|
|
a(href=anime.Link())= anime.Title.ByUser(user)
|
|
|
|
if len(tracks) > 0
|
|
.anime-section.mountable
|
|
h3.anime-section-name
|
|
a(href="/anime/" + anime.ID + "/tracks") Tracks
|
|
|
|
.soundtracks.anime-soundtracks
|
|
each track in tracks
|
|
SoundTrackMini(track, user) |