Added cover image support for the beta
This commit is contained in:
5
mixins/ProfileImage.pixy
Normal file
5
mixins/ProfileImage.pixy
Normal file
@ -0,0 +1,5 @@
|
||||
component ProfileImage(user *arn.User)
|
||||
if user.Avatar != ""
|
||||
img.profile-image(src=user.Avatar + "?s=640&r=x&d=mm", alt="Profile image")
|
||||
else
|
||||
img.profile-image(src="/images/elements/no-gravatar.svg", alt="Profile image")
|
Reference in New Issue
Block a user