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