Added Comments mixin

This commit is contained in:
2018-10-29 11:56:45 +09:00
parent ecceb415ca
commit 8191ebaa70
3 changed files with 22 additions and 26 deletions

View File

@ -20,10 +20,5 @@ func Get(ctx *aero.Context) string {
}
ctx.Data = getOpenGraph(ctx, track)
// Comments
posts := track.Posts()
arn.SortPostsLatestFirst(posts)
return ctx.HTML(components.SoundTrackPage(track, posts, user))
return ctx.HTML(components.SoundTrackPage(track, user))
}