Skip to main content

Haml-style syntax for Jinja2 templates

Project description

This extension to jinja make it possible to use a haml-style syntax for your Jinja2 templates.

Example:

-extends "base.haml"

-block title: Page title

-block content
  %ul.list#users
    -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

pyhaml-jinja-0.11-dev.tar.gz (9.9 kB view hashes)

Uploaded Source

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