Footer item

A link or folder within the site footer.

A link or folder within the site footer. Nested items are available on footer.items when the footer schema allows multiple levels.

Properties

items

Child footer items when this item acts as a folder.

Returns: Array (Footer::ItemDrop)

label

The footer item label shown to customers.

Returns: String

linked_resource

The page, product, or blog post linked to this item, when configured as an on-site resource. Use the linked object's type property to distinguish between page, experience, accommodation, and blog post.

Returns: PageDrop or ProductDrop or BlogPostDrop or nil — nil for external URLs and folder items with no link target.

{% case item.linked_resource.type %}
  {% when "page" %}
    ...
  {% when "experience" %}
    ...
  {% when "accommodation" %}
    ...
  {% when "blog_post" %}
    ...
{% endcase %}

new_tab

Whether the link should open in a new browser tab.

Returns: Boolean

path

Deprecated

Returns the same value as Footer::ItemDrop#url. Use url instead.

The destination URL or path for this footer item. On-site resources return a relative path; external links return the full URL.

Returns: String

url

The destination URL or path for this footer item. On-site resources return a relative path; external links return the full URL.

Returns: String

On this page