{% 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)
-
{% for page in pages_navigation %}
{% pages_menu page %}
{% endfor %}
Display the sub menu of the root page (as a nested list)
{% if current_page %}-
{% pages_sub_menu current_page %}
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 %}-
{% for doc in documents %}
- {{ doc.title }} {% endfor %}
Right column placeholder
{{ right_column }}
title placeholder
{% placeholder title on current_page with TextInput %}
body placeholder
{% endif %}
{% placeholder body with RichTextarea %}
{% imageplaceholder body-image as imgsrc %}
{% if imgsrc %}
{% placeholder content2 %}