writePageTitle template added