{% 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 %} {% include "users/header" %} {% set user_link = ['/@', user.fqn] %} {% set followers_link = ['/@', user.fqn, 'followers'] %} {{ macros::tabs(links=[ user_link | join(sep='/'), followers_link | join(sep='/')], titles=['Articles', 'Followers'], selected=1) }} {% if recents | length != 0 %}

{{ "Latest articles" | _ }} {{ macros::feather(name="rss") }}

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

{{ "Recently boosted" | _ }}

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