diff --git a/ui/views/profile.jet b/ui/views/profile.jet
index f933e67..c774892 100644
--- a/ui/views/profile.jet
+++ b/ui/views/profile.jet
@@ -45,10 +45,10 @@
{{ fullname }}
{{ if isset(description) }}{{ description }}
{{ end }}
{{ if isset(email) }}E-mail: {{ email }}
{{ end }}
- {{ if isset(url) }}
+ {{ if isset(user_url) }}
{{ end }}
diff --git a/userdata.go b/userdata.go
index 36d4573..c5bc6cd 100644
--- a/userdata.go
+++ b/userdata.go
@@ -371,8 +371,8 @@ func ShowProfile(ctxt ui.AmContext) (string, any, error) {
if !ci.PrivateEmail && ci.Email != nil {
ctxt.VarMap().Set("email", *ci.Email)
}
- if ci.URL != nil {
- ctxt.VarMap().Set("url", *ci.URL)
+ if ci.URL != nil && *ci.URL != "" {
+ ctxt.VarMap().Set("user_url", *ci.URL)
}
if ci.Company != nil {
ctxt.VarMap().Set("company", *ci.Company)