{% extends 'base/base.html' %} {% block content %} {% import 'base/link.html' as link_base %} {% from 'base/paginate.html' import footer as p_footer %} {{ breadcrumb(active=g.user_url)}}
{% set user = g.user_url | get_user_infor %} {% include 'user/infor.html' %} {% if g.user.is_authenticated and current_user.username == g.user_url %} {% else %} {% endif %}
{% set setting = user.setting %} {% if type == 'topic' %} {% include 'user/topic.html' %} {% elif type == 'reply' %} {% include 'user/reply.html' %} {% elif type == 'notebook' %} {% include 'user/notebook.html' %} {% elif type == 'follower' %} {% include 'user/follower.html' %} {% elif type == 'collect' %} {% include 'user/collect.html' %} {% endif %}
{% endblock %}