mirror of
https://github.com/jointakahe/takahe.git
synced 2024-12-23 14:00:28 +00:00
parent
3e2ae1b209
commit
3ebbb79bb5
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ class ProfilePage(FormView):
|
||||||
identity = self.request.identity
|
identity = self.request.identity
|
||||||
return {
|
return {
|
||||||
"name": identity.name,
|
"name": identity.name,
|
||||||
"summary": html_to_plaintext(identity.summary),
|
"summary": html_to_plaintext(identity.summary) if identity.summary else "",
|
||||||
"icon": identity.icon and identity.icon.url,
|
"icon": identity.icon and identity.icon.url,
|
||||||
"image": identity.image and identity.image.url,
|
"image": identity.image and identity.image.url,
|
||||||
"discoverable": identity.discoverable,
|
"discoverable": identity.discoverable,
|
||||||
|
|
Loading…
Reference in a new issue