1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
{% extends "layout.html" %} {% block body %} {% if name %} You are logged in as {{ name }}. {% else %} You are not logged in. {% endif %} {% endblock %}