Cleaning up page and post templates.