This is in my header.php snippet.
<title><?php echo $site->title()->html() ?> | <?php echo $page->title()->html() ?></title>
I want every page except the homepage to show the code above, but on the homepage I want to use a custom title after the | while retaining the title of the homepage (which is “Home”).
I know I could probably just use a different snippet for the homepage, but if possible I’d like to simplify it to just one snippet and I can’t seem to figure it out.