created template for a page