8 lines
324 B
Plaintext
Raw Normal View History

2017-07-03 15:21:00 +00:00
component LatestPosts(postables []arn.Postable, viewUser *arn.User, user *arn.User)
ProfileHeader(viewUser, user)
2017-06-22 16:04:14 +00:00
if len(postables) > 0
2017-07-03 15:21:00 +00:00
h2.page-title= len(postables), " latest posts by ", postables[0].Author().Nick
2017-06-22 16:04:14 +00:00
PostableList(postables)
else
2017-07-03 15:33:57 +00:00
p.no-data.mountable= viewUser.Nick + " hasn't written any posts yet."