b:page.metadata.url

<b:page.metadata.url />

Url to the shown content page relative to the domain.

Outputs path to the displayed content relative to the domain.

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

See also