{%- import "utils.html" as utils with context -%}
{% extends "layout.html" %}

{% block head %}
{% if outbox_object %}
{% if outbox_object.content %}
    {% set excerpt = outbox_object.content | html2text | trim | truncate(50) %}
{% else %}
    {% set excerpt = outbox_object.summary | html2text | trim | truncate(50) %}
{% endif %}
<title>{% if outbox_object.name %}{{ outbox_object.name }}{% else %}{{ local_actor.display_name }}: "{{ excerpt }}"{% endif %}</title>
<link rel="webmention" href="{{ url_for("web