{% extends "base.html" %} {% block content %} {% if condition %} blah blah blah blah {% else %} {{ super() }} {% endif %} {% endblock content %}