{% extends "layouts/ap-reader.njk" %} {% from "heading/macro.njk" import heading with context %} {% from "prose/macro.njk" import prose with context %} {% block readercontent %}
{# Header image #} {% if image %}
{% endif %} {# Profile info #}
{% if icon %} {{ name }} {% endif %}
{{ name[0] }}

{{ 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 %}