Revision history [back]
Yes, Jinja2 macros have only access to variables passed explicitly, or via other special channels that Jinja2 templating uses.
This may be circumvented by creating custom template filter functions as inside functions it is possible to do more.