lighty-templateSimple template engine for Python | |
Download |
lighty-template Ranking & Summary
Advertisement
- License:
- BSD License
- Price:
- FREE
- Publisher Name:
- Andrey Grygoryev
- Publisher web site:
- https://github.com/GrAndSE/
lighty-template Tags
lighty-template Description
lighty-template is very simple template engine for Python. Template syntax looks like django-template or jinja2 template. But template engine code is easier and gives a way to write all needed tags without any hacks.Now it does not include all features django-template or jinja2 supports, but I'll try to fix it as soon as possible.Example: < !DOCTYPE html > < html > < head > < title >{{ title }}< /title > {% block style %}{% endblock %} {% block script %}{% endblock %} < /head > < body > {% block content %} < h1 >Hello, world!< /h1 > < p >Some text here< /p > {% endblock %} < /body > < /html >Product's homepage
lighty-template Related Software