finished template for pages