{% extends "base.html" %} {% block sidebar %}
  • Home
  • Add
  • {% endblock %} {% block content %} {% if whatever.count > 0 %} {% for w in whatever %}

    {{ w.title }}

    {{ w.body }}

    {% endfor %} {% else %}

    Nothing.

    {% endif %} {% endblock %}