Separates header and footer into partials and refactors grunt tasks