diff --git a/templates/cards/profile/view.html.twig b/templates/cards/profile/view.html.twig index a6371a0f68..b4304bee3b 100644 --- a/templates/cards/profile/view.html.twig +++ b/templates/cards/profile/view.html.twig @@ -2,7 +2,7 @@ {% set actor_avatar = actor.getAvatarUrl() %} {% set actor_avatar_dimensions = actor.getAvatarDimensions() %} {% set actor_tags = actor.getSelfTags() %} -{% set actor_bio = actor.hasBio() %} +{% set actor_has_bio = actor.hasBio() %} {% set actor_uri = actor.getUri() %} {% block profile_view %} @@ -13,8 +13,8 @@ {{ actor_nickname }}
- {% if actor_bio %} - {{ actor_bio }} + {% if actor_has_bio %} + {{ actor.getBio() }} {% else %} {{ '(No bio)' | trans }} {% endif %}