{% extends "base.html" %} {% block content_title %}{% endblock %} {% block content %}

Gergely Polonkai

developer, systems engineer and administrator

{% if articles %} {% for article in articles_page.object_list %} {# First item #} {% if loop.first and not articles_page.has_previous() %} {% if loop.length > 1 %}

Other articles


    {% endif %} {# other items #} {% else %} {% if loop.first %}
      {% endif %}
    1. {% endif %} {% if loop.last %} {% if loop.length > 1 or articles_page.has_other_pages() %}
    {% if articles_page.has_other_pages() %} {% include 'pagination.html' %} {% endif %}
    {% endif %} {% endif %} {% endfor %} {% else %}

    Pages

    {% for page in pages %}
  1. {{ page.title }}
  2. {% endfor %}
    {% endif %} {% endblock content %}