{% if g.user %} {{g.user.username}} {% endif %} {% block body %}{% endblock %}