Fixed profile links

This commit is contained in:
Eduard Urbach 2017-07-19 04:24:42 +02:00
parent 574ac9e885
commit 406306df37

View File

@ -20,7 +20,7 @@ component ProfileHeader(viewUser *arn.User, user *arn.User, uri string)
if viewUser.Website != ""
p.profile-field.website
Icon("home")
a(href=viewUser.WebsiteURL(), target="_blank", rel="nofollow")= viewUser.Website
a(href=viewUser.WebsiteURL(), target="_blank", rel="nofollow")= viewUser.WebsiteShortURL()
if viewUser.Accounts.Osu.Nick != "" && viewUser.Accounts.Osu.PP >= 1000
p.profile-field.osu(title="osu! Level " + toString(int(viewUser.Accounts.Osu.Level)) + " | Accuracy: " + fmt.Sprintf("%.1f", viewUser.Accounts.Osu.Accuracy) + "%")