Moved header and footer layout to master template