{% block content %} <h1 class="section-heading" style="font-variant: small-caps">{{ gettext('Recent Articles') }}</h1> {% for article in articles %} {% if loop.index > PAGE_PAGINATION %}{% break %}{% endif %} <div class="post-preview"> <a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="{{ gettext('Permalink to') }} {{ article.title|striptags }}"> <h2 class="post-title"> {{ article.title }} </h2> </a> {% if SHOW_FULL_ARTICLE %} {{ article.content }} {% else %} <p class="article-summary"> {% if article.has_summary %} {{ article.summary }} {% elif article.summary %} {{ article.summary|striptags|truncate(140) }} {% endif %} </p> {% endif %} <p class="post-meta">{{ gettext('Posted by') }} {% for author in article.authors %} <a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a> {% endfor %} {{ gettext('on') }} {{ article.locale_date }}<br/> {{ gettext('Category:') }} <a href="{{ SITEURL }}/{{ article.category.url}}">{{ article.category }}</a> </p> {% include 'comments.html' %} </div> {% endfor %} {% endblock content %}