add .registerPartials function for loading all partials in a directory