created pages for single post and list of posts