A templating language combines a document template with data to produce completed output. In web applications, it keeps HTML in a separate template file while inserting dynamic values before the server delivers the page. section 6.4.3
A dynamic page with Jinja2
Flask passes the current time to index.html with render_template("index.html", now=datetime.now()). The template places that value inside <h1>Current time: {{now}}</h1>, producing browser-ready HTML.


