The page object has the following attributes:
page.author
Returns the author of a page.
page.content
Returns the content of a page.
page.handle
Returns the handle of the page.
page.id
Returns the ID of the page.
page.published_at
Returns the timestamp of when the page was published. Use the date filter to format it.
page.template_suffix
Returns the name of the custom page template assigned to the page, without the page. prefix and the .liquid extension. Returns nil if no custom template is assigned.
<!-- on page.contact.liquid -->
{{ page.template_suffix }}
contact
page.title
Returns the title of a page.
page.url
Returns the relative URL of the page.
{{ page.url }}
/pages/about-us
More properties
VersaCommerce also provides these properties on the page object:
| Properties | Returns |
|---|---|
description, images, image, full_url, metafields, option_01, option_02, option_03, content_title_tag, content_meta_description, content_meta_keywords |
Page images, metadata and description alias |