Function mdman::hbs::set_decorator

source ·
fn set_decorator(
    d: &Decorator<'_>,
    _: &Handlebars<'_>,
    _ctx: &Context,
    rc: &mut RenderContext<'_, '_>
) -> Result<(), RenderError>
Expand description

{{*set var=value}} decorator.

This sets a variable to a value within the template context.