Used a template for the pages.