{%- import "utils.html" as utils with context -%} {% extends "layout.html" %} {% block head %} {{ local_actor.display_name }} - Lookup {% endblock %} {% block content %}
Interact with an ActivityPub object via its URL or look for a user using @user@domain.tld {% if error %}
{% if error.value == "NOT_FOUND" %} The remote object is unavailable. {% elif error.value == "UNAUTHORIZED" %} Missing permissions to fetch the remote object. {% elif error.value == "TIMEOUT" %} Lookup timed out, please try refreshing the page. {% else %} Unexpected error, please check the logs and report an issue if needed. {% endif %}
{% endif %}

{% if ap_object and ap_object.ap_type in actor_types %} {{ utils.display_actor(ap_object, actors_metadata, with_details=True) }} {% elif ap_object %} {{ utils.display_object(ap_object, actors_metadata=actors_metadata) }} {% endif %} {% endblock %}