Simplified the index page title method

I think the method still does the same thing, it's just simplified and works the same way the show page's title method does.