{% if authenticated %} {% include 'authenticated.html' %} {% else %} {% include 'redirect.html' %} {% endif %}