index template for pages