Added function getPartialTemplate to return a partial given a name