Adds title functionality for show page