Start of rendering partials.

This commit is contained in:
Tom Alexander
2020-05-08 19:24:32 -04:00
parent ec321a17ca
commit f240b877b8
2 changed files with 5 additions and 1 deletions

View File

@@ -172,6 +172,10 @@ impl<'a> DustRenderer<'a> {
};
}
}
DustTag::DTPartial(partial) => {
let rendered_content = self.render(&partial.name, breadcrumbs)?;
return Ok(rendered_content);
}
_ => (), // TODO: Implement the rest
}
Ok("".to_owned())