microblog.pub/app/templates/lookup.html

15 lines
542 B
HTML
Raw Normal View History

2022-06-22 18:11:22 +00:00
{%- import "utils.html" as utils with context -%}
{% extends "layout.html" %}
{% block content %}
<form action="{{ url_for("get_lookup") }}" method="GET">
<input type="text" name="query" value="{{ query if query else "" }}">
<input type="submit" value="Lookup">
</form>
{{ actors_metadata }}
{% if ap_object and ap_object.ap_type == "Person" %}
{{ utils.display_actor(ap_object, actors_metadata) }}
{% elif ap_object %}
2022-06-26 08:01:26 +00:00
{{ utils.display_object_expanded(ap_object) }}
2022-06-22 18:11:22 +00:00
{% endif %}
{% endblock %}