Liquid Page

Every page on the site is created by processing templates using specific pre-defined inputs. While some information may be loaded dynamically by tags in the template, there are certain objects that are present on every page:

String SiteGUID
The unique identifier for the current site.
request request
An object containing information about the current request.
entity entity
An object containing information about the entity attached to this page. The entity object loaded on the page will be the specific entity type the page was created with (ie: Article, Blog, Blog Post, etc...). See the list of possible Entity Type objects in the menu on the left.
entity page
Deprecated. Use "entity" instead.
site site
An object containing information about the current site - including the custom site settings.
client client
An object containing information about the current "client" - such as the "UserAgent", the first request date, the number of client sessions and pages visited, custom client properties, and more.
cookies cookies
An object containing all of the cookies from the current request (can also be accessed via the client or request objects).
client_permissions client_permissions
An object containing the permissions that are set for the current client. Can also be accessed via the client object.
session session
An object containing information about the current "session", including the session start date, when it will expire if the user does not make any further requests, how many and which pages they have visted, custom client properties, and more.
user user
An object containing information about the current "user", including whether or not they are logged in, when they logged in, custom user properties, and more. Currently user login functionality is incomplete and this is primarily a placeholder for a future release.
header_tags header_tags
A placeholder primarily used to inject information into the document header - such as the browser title, meta information, and any stylesheets or javascript added using the {% add_stylesheet %} and {% add_javascript %} tags.
body_tags body_tags
A placeholder used to inject all of the javascript added to the body using {% add_javascript body %}. This is also a placeholder for the script that enables the "Edit Page" button to be displayed on your live site when you are logged into Marketpath CMS and viewing your site via https.
boolean mp_editor_preview
Will be true if the user is viewing this page from within Marketpath CMS (primarily from the "Edit Page" interface). Note that this is different, and more specific, than the {{ request.is_preview }} property.

Developer Overview

Liquid Markup