Improved title conditional in applicaiton.html.erb