{% extends 'base.html' %} {% block main %}

{{ user.getNickname() }}

{% if user.uid != 0 and account.isLogin %} {% endif %}
{% if user.getUserPost()['posts'] | length > 0 %} {% for post in user.getUserPost()['posts'] %}
{% if post['cover'] != '' %}
{% else %}
{% endif %}
{{ post['title'] }}
{{ post['describe'] }}
{% endfor %} {% else %}
该用户没有发布任何帖子或该用户已将帖子设为隐藏
{% endif %}
{% endblock %}