Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add add & sub functions to template language
Add helper functions "add" and "sub" to the templating language to help with basic math functions addition and subtraction with two arguments. These functions can be used for some basic calculations in recipes, e.g: {{ add 1 1 }} => 2, {{ sub 1 1 }} => 0, {{ sub (add 1 1) 1 }} => 1, Signed-off-by: Christopher Obbard <[email protected]>
- Loading branch information