isHomePage() ) { $title = $site->title()->html(); }else if ($page->depth() == 2) { $title = $page->parent()->title()->html().': '.$page->title()->html().' | '.$site->title()->html(); }else { $title = $page->title()->html().' | '.$site->title()->html(); } ?>