mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2024-11-23 00:27:30 +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}`
|
h1.full-name= `@${user.data.username}`
|
||||||
if !user.fromReel
|
if !user.fromReel
|
||||||
p.structured-text.bio
|
p.structured-text.bio
|
||||||
+display_structured(user.getStructuredBio())
|
- const bio = user.getStructuredBio()
|
||||||
|
if bio
|
||||||
|
+display_structured(bio)
|
||||||
if user.data.external_url
|
if user.data.external_url
|
||||||
p.website
|
p.website
|
||||||
a(href=user.data.external_url)= user.data.external_url
|
a(href=user.data.external_url)= user.data.external_url
|
||||||
|
Loading…
Reference in New Issue
Block a user