When rendering partials, pass the partial template instead of the original template.