working on base template for each page