--- phptemplate.engine 2005-05-25 10:00:02.000000000 +0200 +++ newphptemplate.engine 2005-06-23 14:36:35.302774400 +0200 @@ -111,7 +111,9 @@ * Prepare the values passed to the them function phptemplate_page($content) { /* Set title and breadcrumb to declared values */ - if ($_GET['q'] == variable_get('site_frontpage', 'node')) { + // get url_alias from dbase; + $alias = db_fetch_object(db_query("SELECT * FROM {url_alias} WHERE dst = '%s'", variable_get('site_frontpage', 'node') )); + if ( ($_GET['q'] == variable_get('site_frontpage', 'node')) || ($_GET['q'] == $alias->src ) ) { $mission = theme_get_setting('mission'); $frontpage = true; }