add partials and footer