Created
August 26, 2014 16:40
-
-
Save nunocodex/08fe419169352a31b097 to your computer and use it in GitHub Desktop.
Remove page title from meta tag
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<title><?php if(!$page->isHomePage()) : ?><?php echo html($page->title()) ?> | <?php endif; ?><?php echo html($site->title()) ?></title> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<title><?php echo html($page->title()) ?> | <?php echo html($site->title()) ?></title> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment