{% extends "zenblog/_base.html" %} {% load static %} {% load zenblog_tags %} {% block content %} Category: {{ category }} {% for item in page_obj %} {{ item | get_category_display }} • {{ item.updated_on | date:"M jS 'y"}} {{ item.title }} {% autoescape on %} {{ item.content |remove_html_tags | truncatechars:100 }} {% endautoescape %} {{ item.author.last_name}} {{ item.author.first_name }} {% endfor %} {% if is_paginated %} {% if page_obj.has_previous %} Previous {% endif %} {% for page_num in page_bundle %} {{ page_num }} {% endfor %} {% if page_obj.has_next %} Next {% endif %} {% endif %} {% show_sidebar %} {% endblock content %}
{{ item.content |remove_html_tags | truncatechars:100 }}