Jinja2
Last updated
Last updated
The Jinja2 Extension provides the for output rendering, and the for file/content templating based on the Jinja2 templating language.
Documentation References:
API References:
Jinja2
Applications using Cement <3.0.8 should continue to include jinja2
in their dependencies.
This extension honors the following settings under the primary namespace (ex: [myapp]
) of the application configuration:
Setting
Description
template_dir
Directory path of a local template directory.
Option
Description
template_handler
A template handler to use as the backend for templating
template_dirs
A list of data directories to look for templates
template_module
A python module to look for templates
This extension honors the following options: