This extension to jinja make it possible to use a haml-ish syntax for your jinja2 templates.
Example template:
-extends 'base.html'
-block title << Memberlist
-block content:
%ul id="memberlist"
-for user in users:
%li
%a href="{{ user.url }}" << {{ user.username }}
For more information read the documentation
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hamlish-Jinja-0.3.3.tar.gz
(15.4 kB
view details)
File details
Details for the file Hamlish-Jinja-0.3.3.tar.gz.
File metadata
- Download URL: Hamlish-Jinja-0.3.3.tar.gz
- Upload date:
- Size: 15.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a694a0eb51d0ab7237a96dd7d87aab478bcbdd112b9601097f9731ed7bd173c
|
|
| MD5 |
3fce0620c34e3e87c55d4567b240bfe1
|
|
| BLAKE2b-256 |
b3d8706e9f33aa7de1212e20cd06b7062692fe40b0790f661adcd425ef91e88d
|