Formats Index and Show pages