mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2024-11-22 16:17:29 +00:00
Fix crash on users with no bio
This commit is contained in:
parent
a87617cea8
commit
eacce79dc5
@ -32,7 +32,9 @@ html
|
||||
h1.full-name= `@${user.data.username}`
|
||||
if !user.fromReel
|
||||
p.structured-text.bio
|
||||
+display_structured(user.getStructuredBio())
|
||||
- const bio = user.getStructuredBio()
|
||||
if bio
|
||||
+display_structured(bio)
|
||||
if user.data.external_url
|
||||
p.website
|
||||
a(href=user.data.external_url)= user.data.external_url
|
||||
|
Loading…
Reference in New Issue
Block a user