add a new post and change the footer of the layout