$page->root() Returns the absolute root to the page directory No matter if it exists or not. kirby/src/Cms/Page.php#L1223 $page->root(): string Return type string Parent class Kirby\Cms\Page Example <?= $page->root() ?>