Separate header and footer from main content