This module provides Jinja2 versions of the Django template tags provided by Djedi CMS.
Jinja2 extension providing the same functionality and syntax as the Django tags node and blocknode.
It also has the following extra bonuses:
- Intelligently buffers nodes to be able to use
get_many
from cache, even when Jinja2’s template parsing cache is enabled, unlike the Django counterpart. - Possible to pass variables as URI argument to allow "dynamic" node URIs, though this will make the node unbufferable, so use with care.
Jinja2 global function with the same functionality as the Django tag node.
Note: As of 2.0 it is recommended to use the node
tag provided by
the extension instead. This is still provided for special cases and
backwards compatibility.