{% extends 'sbblog/base.html' %} {% block title %}Blog{% endblock %} {% block content %} {% for entry in object_list %}

{{ entry.title }}

Published on {{ entry.pub_date|date:"F j, Y" }}

{% if entry.excerpt_html %} {{ entry.excerpt_html|safe }} {% else %} {{ entry.body_html|truncatewords_html:"50"|safe }} {% endif %}

Read full entry

{% endfor %}
{% if page_obj.has_next %} next {% endif %} {% if page_obj.has_previous %} previous {% endif %}
{% endblock %}