clean up posts template