{% extends "bulletin/base.html" %} {% load static from staticfiles %} {% load bootstrap_pagination %} {% block before_headline %} Submit a Post {% endblock %} {% block content %}
{% for post in object_list %}
{% if post.image %} {% endif %}

{{ post.title }}

{{ post.blurb }}
  • {{ post.pub_date|date:"M j, Y" }}
  • {% if post.category %}
  • {{ post.category }}
  • {% endif %} {% if user.is_staff %}
  • {% endif %}
{% endfor %}
{% bootstrap_paginate page_obj range=10 show_first_last="true" %}
Submit a Post
{% endblock %}