{% extends "andablog/base.html" %} {% load andablog_tags %} {% block andablog_meta %} {% endblock %} {% block andablog_page_title %} Latest Blog Entries {% endblock %} {% block andablog_content %} {% for entry in entries %}

{{ entry.title }}{% if not entry.is_published %} Draft{% endif %}

{% if entry.preview_content %} {% if entry.preview_image %} Preview image for {{ entry.title }} {% endif %} {{ entry.preview_content }} {% else %} {# Truncate derived from: Avg reading speed (3.33 words/s) * Average attention span (8s) #} {{ entry.content|truncatewords_html:26 }} (More...) {% include "andablog/comments_count_snippet.html" with comment_object=entry %} {% endif %}

{% endfor %} {% include "andablog/pagination_snippet.html" with page_obj=page_obj %} {% endblock %}