Fixed the siteTitle function to work with the new routing.