mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-11-14 10:44:27 +00:00
15 lines
533 B
HTML
15 lines
533 B
HTML
|
{%- 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 %}
|
||
|
{{ utils.display_object(ap_object) }}
|
||
|
{% endif %}
|
||
|
{% endblock %}
|