-
|
I've got a couple of Matrix fields, a "Page Builder" field which only has "Container" entry types, and a "Content Blocks" field which has all the usual suspects (Heading, Text, Buttons, Images, etc). The hierarchy looks like this: Site -> "Pages" section -> "My Entry" entry -> "Page Builder" field -> "Container" entry type -> "Content Blocks" field -> "Heading" entry type. If I want to output the slug of "My Entry" ( |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
You're looking for the "root owner", e.g. {% set rootOwner = entry.rootOwner %}
{{ rootOwner.slug }} |
Beta Was this translation helpful? Give feedback.
You're looking for the "root owner", e.g.
{% set rootOwner = entry.rootOwner %} {{ rootOwner.slug }}