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

{{ object.title }}

{% trans "Posted on" %} {{ object.created_at }} {% if object.category %} {% trans "in" %} {{ object.category|title }} {% endif %}
{% if object.thumbnail %}
{% thumbnail object.thumbnail 960x540 crop as thumb %}
{% endif %} {% if object.content %}
{{ object.content|safe }}
{% endif %} {% if object.tags.count %}
{% trans "Tags" %}: {% for tag in object.tags.all %} {{ tag|title }} {% endfor %}
{% endif %} {% if object.readers.count %}
{% trans "Readers" %}: {% for reader in object.readers.all %} {{ reader.get_full_name|title }} {% endfor %}
{% endif %}
{% related_pages "Related Pages" object number=4 template_name='simpel_pages/widgets/page_related.html' %} {% if object.parent %}
{% trans "Back to" %}: {{ object.parent.title }}
{% endif %} {% endblock %} {% block sidebar_content %} {% recent_pages "Recent" %} {% popular_pages "Popular" %} {% category_list "Category" %} {% tags_list "Tags" %} {% endblock %}