{% extends app.request.isXmlHttpRequest() ? "ajax.html" : "layout.html" %} {% block title %}{{ profile.name }}{% endblock %} {% block content %} {% include "_profile.html" with {"profile": profile, "you": you} %}
{% endblock %} {% block sidebar %}
{% include "_user_list.html" with { users: {'list': [], 'total': ''}, title: 'following', profile: profile, route: 'user_following' } %}
{% include "_user_list.html" with { users: {'list': [], 'total': ''}, title: 'followed by', profile: profile, route: 'user_followers' } %}
{% endblock %}