{{ site }}

{{ site }}

The site object is available on every page, and contains information about the current site. This information is the same on every page for the site.

Properties

Field Type Description
object_type string Will always be "site".
is_valid true/false Will always be true.
guid guid The unique identifier for the site.
name string The name of the site.
default_domain_name string The domain name of the default domain for the site.
default_timezone string The default timezone for this site.
default_meta_description string The default meta description for pages on the site.
session_length number The number of minutes that sessions will remain active between requests on the current site.
favicon string The URL for this site's favicon (if specified).
liveedit_enabled boolean True if "live editing" is enabled for this site. Note that this only indicate whether it is enabled. To know whether or not the edit link will be displayed, use {{ automatic_markup.show_edit_link }} instead.
profiles_enabled boolean True if profiles are currently enabled for this site.
signup_enabled boolean True if users are allowed to sign up for their own profiles directly from the live site.
profile_id_equals_email boolean True if profiles on this site should use the same value for their id and email. False if the id and email may be different.
settings object An object containing all of the site-wide settings for the site currently being viewed. You can query the settings directly using {{ site.settings['setting-name'] }} or using the shortcut {{ site.setting-name }}.