$site->findPageOrDraft() Finds a single published or draft child kirby/src/Cms/HasChildren.php#L115 $site->findPageOrDraft(string $path): Kirby\Cms\Page|null Parameters Name Type Default $path * string – Return type Kirby\Cms\Page|null Parent class Kirby\Cms\Site Example <?php dump($site->findPageOrDraft('notes/in-the-jungle-of-sumatra'));