Update lib Template to allow configs 'partials' and 'template'