create a post index template