create the partials
abstracts the header and footer