Renamed the new partial implementation to the old partial name.

This commit is contained in:
Tom Alexander
2020-05-17 21:17:34 -04:00
parent 7be00ffea6
commit 93f9581d8a
3 changed files with 24 additions and 24 deletions

View File

@@ -203,7 +203,7 @@ impl<'a> DustRenderer<'a> {
self.render_maybe_body(&container.contents, breadcrumbs, blocks)
};
}
DustTag::DTNewPartial(partial) => {
DustTag::DTPartial(partial) => {
let partial_name = self.render_partial_name(&partial.name, breadcrumbs, blocks)?;
if partial.params.is_empty() {
let rendered_content =