How do I write the parent's title on the child page?

How do I write the parent’s title on the child page?

For example
I want to write <?= $page->title() ?>.

if the child of photography is an album, I want the title to appear as photography on the album page.

What should I do in that case?

1 Like