Lazy load images

This commit is contained in:
2017-06-24 16:17:38 +02:00
parent 79ba7ecf3b
commit b6c4968c6c
6 changed files with 65 additions and 23 deletions

View File

@ -84,6 +84,6 @@ component Profile(viewUser *arn.User, user *arn.User, animeList *arn.AnimeList,
.spacer
.post-likes= len(post.Likes)
if user != nil && user.Role == "admin"
.side-note
a(href="/api/user/" + viewUser.ID)= "API: ", viewUser.Nick
.footer
a(href="/api/user/" + viewUser.ID) User API