Modified to add option of displaying site root title in html title