{% load cache pages_tags %} {% comment %}Important to enable other applications to inherit the template{% endcomment %} {% load_pages %} {% show_content current_page "title" %}

{% if user.is_authenticated %} log out {% else %} log in {% endif %}

{% block title %}Django CMS based on page objects{% endblock %}

site: {{ site.name }}

Complete navigation (as a nested list)

Display the sub menu of the root page (as a nested list)

{% if current_page %} {% endif %}

Content

{% if in_document_view %}

You have delegated the rendering of this page to the document view.

{% if document %}

You selected this document: {{ document.title }}

{% endif %} {% endif %} {% block content %} {% placeholder right-column with RichTextarea parsed as right_column %}

Right column placeholder

{{ right_column }}
{% if current_page %}

title placeholder
{% placeholder title on current_page with TextInput %}

body placeholder
{% placeholder body with RichTextarea %}
{% imageplaceholder body-image as imgsrc %} {% if imgsrc %} {% endif %}
{% placeholder content2 %}
{% endif %} {% endblock %}
{% include "pages/examples/debug.html" %}