{% extends "base.html" %} {% block content_title %}{% endblock %} {% block content %} {% if articles %} {% for article in articles_page.object_list %}
{% if loop.length == 1 %} {% include 'pagination.html' %} {% endif %} {% endfor %} {# For article #} {% endif %} {# If articles #} {% endblock content %}