I think I have the full extraction code.

This commit is contained in:
Tom Alexander
2020-05-09 21:30:54 -04:00
parent ae74ce411a
commit d2904913ad
3 changed files with 51 additions and 4 deletions

View File

@@ -183,6 +183,13 @@ impl<'a> DustRenderer<'a> {
return Ok(rendered_content);
}
}
DustTag::DTInlinePartial(named_block) => {
// Inline partials are blank during rendering (they get injected into blocks)
return Ok("".to_owned());
}
DustTag::DTBlock(named_block) => {
// TODO: Implement
}
_ => (), // TODO: Implement the rest
}
Ok("".to_owned())