{% 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 %}
{% 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 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 }}
title placeholder
{% placeholder title on current_page with TextInput %}
body placeholder
{% placeholder content2 with TinyMCE %}
{% placeholder body on current_page with WYMEditor parsed %}