add custom template for each page