mdman::hbs

Function 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.