{% extends "base.html" %} {% block header %} {% if HEADER_COVER %} {% elif HEADER_COLOR %} {% else %} {% endif %} {{ SITENAME }} {% if SITESUBTITLE %} {{ SITESUBTITLE }} {% endif %} {% if SOCIAL and SHOW_SOCIAL_ON_INDEX_PAGE_HEADER %} {% for name,link in SOCIAL %} {% endfor %} {% endif %} {% endblock header %} {% block content %} {% if INTRO_CONTENT %} {{ INTRO_CONTENT }} {% endif %} {% for article in articles_page.object_list %} {{ article.title }} {% if SHOW_FULL_ARTICLE %} {{ article.content }} {% else %} {% if article.has_summary %} {{ article.summary }} {% elif article.summary %} {{ article.summary|striptags|truncate(140) }} {% endif %} {% endif %} {{ gettext('Posted by') }} {% for author in article.authors %} {{ author }} {% endfor %} {{ gettext('on') }} {{ article.locale_date }} {% include 'comments.html' %} {% endfor %} {% include "pagination.html" %} {% endblock content %}
{% if article.has_summary %} {{ article.summary }} {% elif article.summary %} {{ article.summary|striptags|truncate(140) }} {% endif %}
{{ gettext('Posted by') }} {% for author in article.authors %} {{ author }} {% endfor %} {{ gettext('on') }} {{ article.locale_date }}