menu 8 Menu layout grid Overview $pages->first() Returns the first element $pages->first(): mixed Return type mixed Example <?= $page->children()->first()->title() ?> Source code kirby/src/Toolkit/Collection.php#L396