Added an index and post view