The template function can be passed an options object as the second parameter
which allows for customization:
-
data
Pass in an object to define custom @variable
private variables.
-
helpers
Pass in to provide custom helpers in addition to the globally defined helpers.
Values defined in this object will replace any values defined in the global object
for the duration of the template execution.
-
partials
Pass in to provide custom partials in addition to the globally defined partials.
Values defined in this object will replace any values defined in the global object
for the duration of the template execution.