Move header and footer to template directory