{{ 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 string 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 {{ header_tags.show_edit_link }} instead.
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 }}.