Added logic so template.php won't try to write breadcrumbs on front page