Embedded Template Directives
Directives wrapped in <$$ $$> reference an embedded template. The embedded template is expanded when the containing template is rendered by the Orb templating engine.
The following shows an example of the format of an embedded template directive.
<$$ template_name [reference‑name] $$>
Optionally, the name of a reference can be specified. If the reference is:
-
A collection, each member of the collection is expanded using the specified template. Specifically, the template is expanded for each member of the collection with each member of the collection becoming the expansion object in turn.
-
An object, the specified template is expanded with the specified object used as the expansion object.
If no reference is specified, the specified template is expanded with the current expansion object remaining as the expansion object.
