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.

Files for Hamlish-Jinja, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size Hamlish-Jinja-0.3.0.tar.gz (13.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page