get
Get a single resource object using the ID or handle of a resource of a specified type.
To be used in combination with the following objects:
obj | get(idOrHandle) returns [any]
Params
-
objany: All resource objects of a specified type. Currently, only the object types listed above are supported. -
idOrHandlestring: Resource ID or handle.
Example
{{#var myProduct = all_products | get("winter-wonderland-gift-box") /}}
{{ myProduct.title }}
Was this article helpful to you?