Jinja
lastmod 2026-11-10created 2024-03-152 edits
Jinja is the most widely used web template engine in the Python ecosystem. It outputs variables with {{ }}, uses {% %} for control structures such as conditionals, loops, and template inheritance, and processes output with filters and macros. It is Flask's default template engine and is also used in Ansible configuration files and several static site generators, and it supports automatic HTML escaping and sandboxed execution. It is also called Jinja2, after its version 2 name.