{% load forum_tags %} {% load humanize %}
{% if topic.is_sticky %}
{% endif %} {% if topic.is_locked %} {% endif %}
{{ topic.title }}
{{ topic.user }} at {{ topic.date_added|date:"g:iA, N j, Y" }}
{% with topic|topic_pages as page_count %} {% if page_count %} {% if page_count > 1 %} page:
    1 2 {% if page_count > 2 %} 3 {% if page_count > 3 %} 4 {% if page_count > 4 %} 5 {% if page_count > 5 %} ...{{ page_count }} {% endif %} {% endif %} {% endif %} {% endif %}
{% endif %} {% endif %} {% endwith %}
{{ topic|post_count|intcomma }}
{% with topic|latest_post as latest_post %} {% include 'forums/latest_post.html' %} {% endwith %}