{% extends 'sbblog/base.html' %} {% block contenttitle %}Blog archive{% endblock %} {% block content %} {% for entry in object_list %}
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 %} {% endfor %} {% endblock %}