{% extends "base.html" %} {% import "_macros.html" as macros %} {% block title %}Flasky - {{ user.username }}{% endblock %} {% block page_content %}
{% if user.name %} {{ user.name }}{% endif %} {% if user.location %}from {{ user.location }} {% endif %}
{% endif %} {% if user.is_administrator %} {% endif %} {% if user.about_me %}{{ user.about_me }}
{% endif %}Member since {{ moment(user.member_since).format('L') }}. Last seen {{ moment(user.last_seen).fromNow() }}.
{{ user.posts.count() }} blog post{% if user.posts.count() > 1 %}s{% endif %}.
{% if user == current_user %} Edit Profile {% endif %} {% if current_user.is_administrator %} Edit Profile [Admin] {% endif %}