add logo url

This commit is contained in:
isUnknown 2024-09-04 11:33:58 +02:00
parent edd9e66efb
commit b6a455d66f
2 changed files with 3 additions and 2 deletions

View file

@ -5,7 +5,8 @@ $children = $page->children()->map(function ($child) {
'title' => $child->title()->value(),
'url' => $child->url(),
'modified' => $child->modified('Y-m-d'),
'status' => $child->status()
'status' => $child->status(),
'logo' => $child->client()->toPage()->logo()->toFile()->url()
];
})->values();