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


Release history Release notifications

This version
History Node

0.11-dev

History Node

0.1-dev

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pyhaml-jinja-0.11-dev.tar.gz (9.9 kB) Copy SHA256 hash SHA256 Source None Mar 31, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page