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:
            %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 hashes)

Uploaded source

Supported by

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