page.face can be thought of as the chief layout. The other layouts, such as blog-list.face and blog-post.face, must be placed within this layout for the pages to render.
In this article:
- page.id
- page.url
- page.title
- page.site_id
- page.site_title
- page.site_caption
- page.primary_domain
- page.is_store_enabled
- page.meta_tags
- page.is_title_enabled
- page.is_caption_enabled
- page.is_logo_enabled
- page.is_sidebar_enabled
- page.is_banner_enabled
- page.is_custom_banner_enabled
- page.is_search_enabled
- page.is_social_icon_enabled
- page.is_contact_information_enabled
- page.breadcrumbs
- page.is_breadcrumb_enabled
- page.breadcrumb.is_selected
- page.is_menu_enabled
- page.is_footer_enabled
- page.is_portal_enabled
- page.is_portal_signup_enabled
- page.template_assets
- page.email_id
- page.phone_number
- page.social_icons_order
- page.social_icons_list
- page.header_code
- page.footer_code
- page.stylesheets
- page.scripts
- page.logo
- page.banner
- page.content
- page.sidebar_content
- page.footer_content
- page.logo.url
- page.logo.width
- page.logo.height
- menu.menu_id
- menu.menu_item_id
- menu.menu_item_type
- menu.item_name
- menu.url
Returns the ID of the page to be generated.
Returns the URL of the page to be generated.
Returns the title of the page.
page.site_id
Returns the site ID of the page.
page.site_title
Returns the site title on the page.
page.site_caption
Returns the site caption on the page.
page.primary_domain
page.is_store_enabled
Returns true if the store is enabled, or false if it is disabled. Indicating whether it is a store or a website.
page.meta_tags
Returns all meta data associated with the site.
page.is_title_enabled
Returns true if the title is enabled or false if it is disabled.
page.is_caption_enabled
Returns true if the caption is enabled or false if it is disabled.
page.is_logo_enabled
Returns true if the logo is enabled or false if it is disabled.
page.is_sidebar_enabled
Returns true if the sidebar is enabled or false if it is disabled.
page.is_banner_enabled
Returns true if banner is enabled or false if it is disabled.
page.is_custom_banner_enabled
Returns true if page-wise banner is enabled or false if it is disabled.
page.is_search_enabled
Returns true if the search bar is enabled or false if it is disabled.
page.is_social_icon_enabled
Returns true if social icon is enabled or false if it is disabled.
page.is_contact_information_enabled
Returns true if the contact information is enabled or false if it is disabled.
Returns the breadcrumb navigation that shows the user's location on your site.
Input:
</a>
{% for bread_crumb in page.breadcrumbs %}
<a href="{{ bread_crumb.url }}" class="theme-breadcrumb-nav">
{{ bread_crumb.name }}
</a>
{% endfor %}
Output:
Home>Contact>Us>Blog
Note: Breadcrumb is a list data type with other values beneath it.
page.is_breadcrumb_enabled
Returns true if breadcrumb is enabled or false if it is disabled.
Returns the name on the breadcrumb.
Returns the URL of the breadcrumb.
page.breadcrumb.is_selected
Returns true if breadcrumb is selected or false if it is not selected.
page.is_menu_enabled
Returns true if page menu is enabled or false if it is disabled.
page.is_footer_enabled
Returns true if footer is enabled or false if it is disabled.
page.is_portal_enabled
Returns true if the member portal is enabled or false if it is disabled.
page.is_portal_signup_enabled
Returns true if the signup option in the member portal is enabled or false if it is disabled.
page.template_assets
Returns path through which the template is hosted.
page.email_id
Returns your email address.
page.phone_number
Returns your phone number.
page.social_icons_order
Returns the order in which the social icons will appear.
page.social_icons_list
Returns the URL of your social media pages.
page.header_code
Returns the scripts for widgets in the header section.
page.footer_code
Returns the scripts for widgets in the footer section.
Returns the stylesheets added to that page.
Returns the scripts added to the page.