{{ config['MY_CONFIGURATION'] }}
or
{{ config.MY_CONFIGURATION }}
References :
python - Flask - Accessing the config variable in the template - Stack Overflow
{{ config['MY_CONFIGURATION'] }}
or
{{ config.MY_CONFIGURATION }}
{{ 12345678|string}}{{ 1111|int }}
{% if 1111 == '1111' %}1111{% else %}2222{% endif %}
controller.py
def clever_function(): return u'HELLO' app.jinja_env.globals.update(clever_function=clever_function)
view.py
{{ clever_function() }}
References :
Call a python function from jinja2 - Stack Overflow
Hello World
{% include "parts/introtext" %}
{% require "myblocks" %}
{% require "parts/introtext" as introtext %}
Hello World
{% call "divbox", "intro", introtext %}