8 lines
324 B
Plaintext

component LatestPosts(postables []arn.Postable, viewUser *arn.User, user *arn.User)
ProfileHeader(viewUser, user)
if len(postables) > 0
h2.page-title= len(postables), " latest posts by ", postables[0].Author().Nick
PostableList(postables)
else
p.no-data.mountable= viewUser.Nick + " hasn't written any posts yet."