Rework conditional page title statement
As per @ingwinlu 's request