generate new post html page