add page template support