{% load theme_tags %} {% load article_tags %} {% load bootstrap_pagination_tags %} {% list_articles as articles_list limit=500 %}

{% firstof TEMPLATE_ARTICLES_BLOG_LIST_TITLE trans 'Latest Articles' %}

{% if TEMPLATE_ARTICLES_BLOG_LIST_LIMIT %} {% autopaginate articles_list TEMPLATE_ARTICLES_BLOG_LIST_LIMIT %} {% else %} {% autopaginate articles_list 10 %} {% endif %}
{% for article in articles_list %}

{% firstof article.headline 'Untitled'%}

{% if article.summary %} {{ article.summary|striptags|truncatewords:40|safe }} {% else %} {{ article.body|striptags|truncatewords:40|safe }} {% endif %}
{% include "articles/meta.html" %}
{% endfor %}
{% paginate %} {% theme_setting setting_name %}