Skip to main content

Haml-ish syntax for jinja2 templates

Project description

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

Project details


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)

Uploaded Source

File details

Details for the file Hamlish-Jinja-0.3.3.tar.gz.

File metadata

File hashes

Hashes for Hamlish-Jinja-0.3.3.tar.gz
Algorithm Hash digest
SHA256 4a694a0eb51d0ab7237a96dd7d87aab478bcbdd112b9601097f9731ed7bd173c
MD5 3fce0620c34e3e87c55d4567b240bfe1
BLAKE2b-256 b3d8706e9f33aa7de1212e20cd06b7062692fe40b0790f661adcd425ef91e88d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page