$pages->findOpen()

Finds the open $page object in the collection.

Example

<?php echo $page->children()->findOpen()->title() ?>