consolidate the page template