{% extends app.request.isXmlHttpRequest() ? "ajax.html" : "layout.html" %} {% block title %}{{ profile.name }}{% endblock %} {% block content %} {% include "_profile.html" with {"profile": profile, "you": you} %}