{% load cache pages_tags %} {% if current_page %} {% show_content current_page "title" %} {% endif %}

{% 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 current_page %}

Test for page absolute url : {% show_absolute_url current_page %}

Test for page absolute url using the page slug : {% show_absolute_url current_page.slug %}

Test show_content and get_content template tag : {% show_content current_page.slug "slug" %} {% get_content current_page.slug "slug" as content %}

{% 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 on current_page with WYMEditor parsed %}
{% endif %} {% endblock %}
{% include "pages/debug.html" %}