Adding layouts to the header and footer of the page template