Need to mix back in parameterscontext.
This commit is contained in:
parent
bbc1a24631
commit
7bf8012d6e
@ -161,6 +161,19 @@ impl<'a> DustRenderer<'a> {
|
||||
}
|
||||
}
|
||||
}
|
||||
DustTag::DTSection(container) => {
|
||||
//let injected_context = ParametersContext::new(breadcrumbs, &container.params);
|
||||
let val = walk_path(breadcrumbs, &container.path.keys)
|
||||
.map(|ice| ice.into_context_element(self, breadcrumbs));
|
||||
match val {
|
||||
Err(WalkError::CantWalk) => {
|
||||
// TODO
|
||||
}
|
||||
Ok(final_val) => {
|
||||
// TODO
|
||||
}
|
||||
}
|
||||
}
|
||||
_ => panic!("Unsupported tag"),
|
||||
}
|
||||
Ok("".to_owned())
|
||||
|
Loading…
x
Reference in New Issue
Block a user