A fast and easy to use template engine written in pure Python
Jinja2 is a template engine written in pure Python. It provides a Django inspired non-XML syntax but supports inline expressions and an optional sandboxed environment. Here a small example of a Jinja template: {% extends 'base.html' %} {% block title %}Memberlist{% endblock %} {% block content %} <ul> {% for user in users %} <li><a href="{{ user.url }}">{{ user.username }}</a></li> {% endfor %} </ul> {% endblock %}
-
Links to SUSE:SLE-12:GA / python-Jinja2
-
Download package
Source Files
(show merged sources derived from linked package)
Filename | Size | Changed | Actions |
---|---|---|---|
_link | 0000000454454 Bytes | 1431989955almost 3 years ago | ![]() |