diff --git a/templates/utils.html b/templates/utils.html index ba0f51b..ab61ca5 100644 --- a/templates/utils.html +++ b/templates/utils.html @@ -1,5 +1,5 @@ {% macro display_actor_inline(follower, size=50) -%} - + {% if not follower.icon %} @@ -8,7 +8,7 @@
{{ follower.name or follower.preferredUsername }}
-@{{ follower.preferredUsername }}@{{ follower.url | domain }} +@{{ follower.preferredUsername }}@{{ follower.get_url() | domain }}
{%- endmacro %} @@ -20,14 +20,14 @@
- +
- {{ actor.name or actor.preferredUsername }} - @{% if not no_color and obj.id | is_from_outbox %}{{ actor.preferredUsername }}{% else %}{{ actor.preferredUsername }}{% endif %}@{% if not no_color and obj.id | is_from_outbox %}{{ actor.url | domain }}{% else %}{{ actor.url | domain }}{% endif %} + {{ actor.name or actor.preferredUsername }} + @{% if not no_color and obj.id | is_from_outbox %}{{ actor.preferredUsername }}{% else %}{{ actor.preferredUsername }}{% endif %}@{% if not no_color and obj.id | is_from_outbox %}{{ actor.get_url() | domain }}{% else %}{{ actor.get_url() | domain }}{% endif %} {% if not perma %}