{% extends 'base.html' %} {% block content %}

Home

{% if current_user.is_authenticated %}

Welcome, {{ current_user.user }}!

Logout

{% else %}

Login

{% endif %} {% endblock %}