- {{if gt (len .userinfo.Avatar) 0}}
+ {{if ne .userinfo.Avatar nil}}
diff --git a/pkg/views/users/me.gohtml b/pkg/views/users/me.gohtml
index 7aea606..1c61f36 100644
--- a/pkg/views/users/me.gohtml
+++ b/pkg/views/users/me.gohtml
@@ -4,13 +4,13 @@
- {{if gt (len .userinfo.Banner) 0}}
+ {{if ne .userinfo.Banner nil}}
{{end}}
- {{if gt (len .userinfo.Avatar) 0}}
+ {{if ne .userinfo.Avatar nil}}
{{else}}