{% macro embed_csrf_token() %} {% endmacro %} {% macro embed_redirect_url() %} {% endmacro %} {% macro admin_follow_button(actor) %}
{{ embed_csrf_token() }} {{ embed_redirect_url() }}
{% endmacro %} {% macro admin_like_button(ap_object_id) %}
{{ embed_csrf_token() }} {{ embed_redirect_url() }}
{% endmacro %} {% macro admin_announce_button(ap_object_id) %}
{{ embed_csrf_token() }} {{ embed_redirect_url() }}
{% endmacro %} {% macro admin_undo_button(ap_object_id, action="Undo") %}
{{ embed_csrf_token() }} {{ embed_redirect_url() }}
{% endmacro %} {% macro sensitive_button(permalink_id) %}
{% for k, v in request.query_params.items() %} {% endfor %}
{% endmacro %} {% macro display_actor(actor, actors_metadata) %} {{ actors_metadata }} {% set metadata = actors_metadata.get(actor.ap_id) %}
{{ actor.name or actor.preferred_username }}
{{ actor.handle }}
{% if metadata %}
{% endif %} {% endmacro %} {% macro display_object(object) %} {% if object.ap_type in ["Note", "Article", "Video"] %} {% endif %} {% endmacro %}