Remake headers and footers as partials