Skip to content

var

Source

Hook for rendering a variable based on an input. Only useful for rendering as otherwise you wouldn't need this hook at all. Does recursion when the value being rendered is still renderable - ie a template within a template.

Inputs

Name Type Default Required Description
input Any True Any variable input.
no_recursion bool False True Don't recursively render embedded templates.

Arguments

Position Argument Type
1 input Any

Returns

Any