12 lines
480 B
Plaintext
Raw Normal View History

2016-11-18 17:58:00 +00:00
component Avatar(user *arn.User)
a.user.ajax(href="/+" + user.Nick, title=user.Nick)
if user.Avatar != ""
if strings.Contains(user.Avatar, "gravatar.com")
img.user-image(src=user.Avatar + "?s=100&r=x&d=mm", alt=user.Nick)
else
img.user-image(src=user.Avatar, alt=user.Nick)
else
svg.user-image(width="50", height="50")
2016-11-19 19:07:10 +00:00
circle.head(cx="25", cy="19", r="10")
2016-11-18 17:58:00 +00:00
circle.body(cx="25", cy="50", r="20")
//- text(x="25", y="44", text-anchor="middle") TODO