Provides access to general information about the system, including abiltiy to edit, export, include, etc.
Returns true if the editor is present on the current page.
{% if edit_mode %}
<p>Useful information while editing.</p>
{% endif %}
Returns true if the template is being exported as HTML.
{% if exporting %}
<p>Only shown if exporting is true.</p>
{% endif %}
Inserts the contents of the named module at the location of the tag.
{% include 'my_module' %}
The theme's layout contains the following:
{% include 'header' %}
<p>I hope you find what you're looking for :)</p>
The header
module contains:
<h1>Welcome to my website!</h1>
When the page is viewed, the user would see:
<h1>Welcome to my website!</h1>
<p>I hope you find what you're looking for :)</p>
Returns true if the viewer of the page is logged in.
{% if logged_in %}
<p>Information displayed only to logged in users.</p>
{% endif %}
Returns true if the editor is not present on the current page. This can be useful if JavaScript is conflicting with the editor.
{% if view_mode %}
<p>This page is not being edited.</p>
{% endif %}