Add a title helper
Change to Ruby 1.9 hash syntax