Jinja is a web template engine for the Python programming language.
The Jinja template engine allows customization of tags,[3] filters (for formatting or transforming values[4]), tests (for evaluating conditions[4]), and globals.
Jinja is Flask's default template engine [6] and it is also used by Ansible,[7] Trac, and Salt.
The syntax for printing output in Jinja is using the double curly braces, for example {{ Hello, World!
and templating code:This produces the HTML string: Note the minus sign (-) after the tag {%: If you add a minus sign (-) to the start or end of a block (e.g. a For tag), a comment, or a variable expression, the whitespaces before or after that block will be removed.