{% extends 'layouts/index.html' %} {% block content %}
{{ user.name }} {% if current_user.is_admin or current_user.id == user.id %} {% endif %} {% with seen_text = user.get_last_seen() %} {% if seen_text == 'Online now!' %} {{ seen_text }} {% else %} {{ seen_text }} {% endif %} {% endwith %}
{{ user.username }}'s Profile Picture
Registered {{ user.get_registration_delta() }} ago
{# 0 likes
#} {% with post_count = user.get_post_count() %} {{ post_count }} post{% if post_count > 1 %}s{% endif %}
{% endwith %}

About me:
{{ user.about_me or "This user hasn't written a bio yet." }}

{% endblock %}