{% extends "base.html" %} {% block content %} {% if user.is_authenticated %} {{ user.email }} Log out {% else %} Log in {% endif %} {{ post.title }} {{ post.body | safe }} {% endblock %}