Site page
A site page built from blocks in the seller admin.
A site page built from blocks in the seller admin.
Returned from link targets such as menu_item.linked_resource and link.linked_resource.
Not the same object as the global request page (RequestDrop), which describes the
current HTTP request. In Liquid templates, linked_resource.type is still "page" for
this object — the doc slug site_page is used only to distinguish it from RequestDrop
in the reference.
Properties
host
The site's domain for this page.
Returns: String
name
The page name as configured in the seller admin.
Returns: String
path
The relative path to this page.
Returns: String
slug
The URL slug for this page.
Returns: String
type
The Liquid object type identifier for this page.
Returns: String — always "page".
{% case item.linked_resource.type %}
{% when "page" %}
{{ item.linked_resource.name }}
{% endcase %}url
The full URL of this page.
Returns: String