{% load i18n cyclope_utils %} {% comment %} When inserted in a layout region the host template used is just a wrapper (see inline_view.html). When showing the StaticPage as the main content of the view, the host_template is the layout template. {% endcomment %} {% block content %} {% if not user.is_authenticated and not staticpage.published %} {% trans "This content isn't public, please log in" %} {% else %}
{{ staticpage.text|smart_style }}
{% include 'cyclope/related_contents_block.html' %}
{% endif %} {% endblock content%}