{% extends "base" %} {% import "macros" as macros %} {% block title %} {% if user.display_name %} {% set name = user.display_name %} {% else %} {% set name = user.username %} {% endif %} {{ name }} {% endblock title %} {% block content %}

{{ name }} {% if user.is_admin %} Admin {% endif %} {% if is_self %} It is you {% endif %}

{% if is_self %} Edit your profile {% endif %} {% if is_remote %} Open on {{ instance_url }} {% endif %} {% if not is_self and account %} {% if follows %} Follow {% else %} Unfollow {% endif %} {% endif %}
{{ n_followers }} follower{{ n_followers | pluralize }}
{{ user.summary | safe }}
{% if recents | length != 0 %}

Latest articles

{% for article in recents %} {{ macros::post_card(article=article) }} {% endfor %}
{% endif %} {% if reshares | length != 0 %}

Recently reshared

{% for article in reshares %} {{ macros::post_card(article=article) }} {% endfor %}
{% endif %} {% endblock content %}