Switching render_template to render_body.

The body element is re-used as a child element in blocks, so it makes more sense to make a function that renders that as opposed to a function that renders a top-level-only container that contains only a body.
This commit is contained in:
Tom Alexander
2020-04-11 23:03:07 -04:00
parent 869c32df21
commit 542c2c4536
2 changed files with 5 additions and 3 deletions

View File

@@ -7,6 +7,7 @@ pub use node_invoker::run_node_dust;
pub use node_invoker::NodeError;
pub use node_invoker::Result;
pub use parser::template;
pub use parser::Body;
pub use parser::DustTag;
pub use parser::Template;
pub use parser::TemplateElement;