Added priority hint for profile avatars
This commit is contained in:
@ -21,7 +21,7 @@ component AvatarNoTip(user *arn.User)
|
||||
|
||||
component ProfileImage(user *arn.User)
|
||||
if user.HasAvatar()
|
||||
img.profile-image.lazy(data-src=user.AvatarLink("large"), data-webp="true", alt="Profile image")
|
||||
img.profile-image.lazy(data-src=user.AvatarLink("large"), data-webp="true", alt="Profile image", importance="high")
|
||||
else
|
||||
SVGProfileImage(user)
|
||||
|
||||
|
Reference in New Issue
Block a user