{% extends "layouts/ap-reader.njk" %} {% from "heading/macro.njk" import heading with context %} {% block readercontent %} {# Error message #} {% if error %}
{{ error }}
{% endif %} {# Reply context — the message being replied to #} {% if replyContext %}
{{ __("activitypub.messages.replyingTo") }}
{{ replyContext.actorName }}
{% if replyContext.content and (replyContext.content.html or replyContext.content.text) %}
{{ replyContext.content.html | safe if replyContext.content.html else replyContext.content.text | truncate(300) }}
{% endif %}
{% endif %}
{% if replyTo %} {% endif %} {# Recipient field #}
{# Content textarea #}
{{ __("activitypub.compose.cancel") }}
{% endblock %}