This repository has been archived by the owner on Oct 20, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add two inja callbacks for accessing subobjects:
* `get(obj, key)`: accesses the `key` member of an object. * `index(arr, n)`: accesses the `n`th element of an array. It supports negative indices to access from the back of the array (`index(arr, -1)` returns the last element, etc).
- Loading branch information