5 lines
225 B
Plaintext
5 lines
225 B
Plaintext
component ProfileImage(user *arn.User)
|
|
if user.Avatar != ""
|
|
img.profile-image(src=user.Avatar + "?s=500&r=x&d=mm", alt="Profile image")
|
|
else
|
|
img.profile-image(src="/images/elements/no-gravatar.svg", alt="Profile image") |