{% extends "rsbp/base.html" %} {% block title %}Posts{% endblock %} {% block main %}
{% if not object_list %} {% include "rsbp/includes/no_posts.html" %} {% endif %} {% for object in object_list %} {% with post=object.downcast %}
{% include post.template %}
{% endwith %} {% if not forloop.last %}
{% endif %} {% endfor %}
{% if paginator.num_pages > 1 %}
{% endif %} {% endblock %}