More page titles
This commit is contained in:
@ -2,7 +2,7 @@ component LatestPosts(postables []arn.Postable, viewUser *arn.User, user *arn.Us
|
||||
ProfileHeader(viewUser, user, uri)
|
||||
|
||||
if len(postables) > 0
|
||||
h2.page-title= len(postables), " latest posts by ", postables[0].Author().Nick
|
||||
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."
|
@ -1,7 +1,7 @@
|
||||
component TrackList(tracks []*arn.SoundTrack, viewUser *arn.User, user *arn.User, uri string)
|
||||
ProfileHeader(viewUser, user, uri)
|
||||
|
||||
h2.page-title= "Tracks added by " + viewUser.Nick
|
||||
h1.page-title= "Tracks added by " + viewUser.Nick
|
||||
|
||||
if len(tracks) == 0
|
||||
p.no-data.mountable= viewUser.Nick + " hasn't added any tracks yet."
|
||||
|
Reference in New Issue
Block a user