{% block extrahead %}{% endblock %}
{% if user.is_authenticated %} Hi {{ user.username }} {% if not user.is_active%}(inactive) {% endif %} (
log out
)
{% if user.is_staff and user.is_active %} How you can
add
article {% endif %} {% else %}
{% csrf_token %}
Username
Password
Register
{% endif %}
Main page
{% block content %}{% endblock %}