{% extends "layouts/ap-reader.njk" %} {% from "heading/macro.njk" import heading with context %} {% from "prose/macro.njk" import prose with context %} {% block readercontent %} {{ heading({ text: title, level: 1, parent: { text: __("activitypub.reader.title"), href: mountPath + "/admin/reader" } }) }}
{# Header image #} {% if image %}
{% endif %} {# Profile info #}
{% if icon %} {{ name }} {% else %}
{{ name[0] }}
{% endif %}

{{ name }}

{% if actorHandle %}
@{{ actorHandle }}@{{ instanceHost }}
{% endif %} {% if bio %}
{{ bio | safe }}
{% endif %}
{# Action buttons #}
{# Posts from this actor #}

{{ __("activitypub.profile.remote.postsTitle") }}

{% if posts.length > 0 %}
{% for item in posts %} {% include "partials/ap-item-card.njk" %} {% endfor %}
{% elif isFollowing %} {{ prose({ text: __("activitypub.profile.remote.noPosts") }) }} {% else %} {{ prose({ text: __("activitypub.profile.remote.followToSee") }) }} {% endif %}
{% endblock %}