{% extends 'simpel_pages/base.html' %} {% load i18n pages_tags pages_widget_tags %} {% block breadcrumb-items %} {% for item in object.get_ancestors %} {% endfor %} {% endblock breadcrumb-items %} {% block main_content %}

{{ object.title }}

{% if object.content %}
{{ object.content|safe }}
{% endif %} {% if object.parent %}
{% trans "Back to" %}: {{ object.parent.title }}
{% endif %}
{% if object_list.count %}
{% for page in object_list %}
{% include 'simpel_pages/includes/page.html' with page=page %}
{% endfor %}
{% else %} {% include 'simpel_pages/includes/no_results.html' %} {% endif %} {% if is_paginated %} {% include 'simpel_pages/includes/pagination.html' %} {% endif %}
{% endblock %}