{% extends 'layout.html' %} {% block title %}{{ post.title }}{% endblock %} {% block content %} <h1>{{ post.title }}</h1> <p>{{ post.body }}</p> {% endblock %}