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 details)

Uploaded Source

File details

Details for the file pyhaml-jinja-0.11-dev.tar.gz.

File metadata

File hashes

Hashes for pyhaml-jinja-0.11-dev.tar.gz
Algorithm Hash digest
SHA256 8827c2bea7e5d66f4870ff2b78bfa4d193130c4e6834a7d3465040a9814f9637
MD5 c4bd00bac339ec4055967798a4f3fb76
BLAKE2b-256 88d9531cdc5f924f0c709870cd1667d0adffef821492cf546ebe1443cba35197

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page