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.

Files for pyhaml-jinja, version 0.11-dev
Filename, size File type Python version Upload date Hashes
Filename, size pyhaml-jinja-0.11-dev.tar.gz (9.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page