Is there any particular reason that the !page_title variable was removed from being able to be set on the main page?
line: 195
$title = t($page_title_front, array('!site_name' => $site_name, '!site_slogan' => $site_slogan));
It would be nice if it was.
$title = t($page_title_front, array('!page_title' => $page_title, '!site_name' => $site_name, '!site_slogan' => $site_slogan));
Comments
Comment #1
nicholasthompsonIt was removed as part of a patch suggested in issue #122734
Its a good queston why it went... I've never considered it. But thinking about it - the frontpage is ONE page, therefore whatever text you want could go in the token layout field (eg, you could set it to "THIS IS MY GREAT SITE! %site_name").
There is also the issue that the %page_title field will only be present for frontpage items which are nodes (a view or panel as a frontpage item wont have a page_title).