Skip to content

allow importnimja to overwrite "context" #81

Description

@enthus1ast

This feature should enable importnimja to
make variables available to the imported template with a different name.

something like this:

{% importnimja "someTemplate.nimja" record = someList %}

twig syntax:

{% include 'template.html' with {'foo': 'bar'} %}

basically the same as compileTemplateStr and compileTemplateFile

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions