Beginning of the render_tag function.

Beginning of the render_tag function. At this point I need to figure out how to access elements in the context.
This commit is contained in:
Tom Alexander
2020-04-11 18:40:36 -04:00
parent 2459d7b418
commit f65a144b3c
4 changed files with 22 additions and 6 deletions

View File

@@ -41,7 +41,7 @@ fn main() {
println!(
"{}",
dust_renderer
.render(main_template_name, context)
.render(main_template_name, &context)
.expect("Failed to render")
);
}