inja
inja copied to clipboard
macros (as in Jinja)
The macro feature in Jinja would be super great to have. I'm finding myself repeating lots of small snippets in my templates, things for which include
in't well suited (too heavyweight and doesn't take parameters.)
@snej Inlcude takes variables from current scope but it can't set output variables, unfortunately