5 lines
225 B
Plaintext
Raw Normal View History

2016-11-20 10:26:11 +00:00
component ProfileImage(user *arn.User)
if user.Avatar != ""
2017-06-10 00:35:07 +00:00
img.profile-image(src=user.Avatar + "?s=500&r=x&d=mm", alt="Profile image")
2016-11-20 10:26:11 +00:00
else
img.profile-image(src="/images/elements/no-gravatar.svg", alt="Profile image")