Clean up page template