b:page.metadata.path

<b:page.metadata.path />

Page's relative path to the to the site root.

Outputs path to the page relative to the site root. This is highly useful in <b:get> or <b:structure> parent attribute.

If you want to get the path relative to the domain, use <b:page.metadata.url/>.

See also