Jinja is a Python templating engine, aimed at helping you to do dynamic things with your HTML like passing variables, running simple logic, and more ! With Jinja, you will notice we are using {% %} , this denotes logic. For variables, you will see {%{% }} .