jinja2 templating code example
Example 1: jinja2 python
<title>{% block title %}{% endblock %}</title>
<ul>
{% for user in users %}
<li><a href="{{ user.url }}">{{ user.username }}</a></li>
{% endfor %}
</ul>
Example 2: jinja2 include template
{% include "to_be_included.html" with context %}