More page titles

This commit is contained in:
2017-07-06 22:23:32 +02:00
parent f0b63aec75
commit e28b11c322
10 changed files with 10 additions and 10 deletions

View File

@ -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."

View File

@ -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."