diff --git a/common/templates/_sidebar.html b/common/templates/_sidebar.html index a534aef6..95efb978 100644 --- a/common/templates/_sidebar.html +++ b/common/templates/_sidebar.html @@ -183,7 +183,7 @@ {% endif %} - {% if top_tags is not None %} + {% if identity.user and top_tags is not None %}
@@ -191,7 +191,7 @@ - ({% trans 'show all' %}) + ({% trans 'show all' %})
diff --git a/users/templates/users/profile_actions.html b/users/templates/users/profile_actions.html index c482e877..a439f3ab 100644 --- a/users/templates/users/profile_actions.html +++ b/users/templates/users/profile_actions.html @@ -47,7 +47,7 @@ {% endif %} - {% if identity.user and identity.user.mastodon_account %} + {% if identity.user.mastodon_account %}