2017-07-06 22:23:32 +02:00

8 lines
347 B
Plaintext

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