Export header and footer from layout.