create post and category pages