Skip to main content

HAML-ish syntax for jinja2 templates

Project description

Overview

An extension for Jinja2 that adds support for HAML-like templates

Forked from Pitmairen/hamlish-jinja

Usage

Install

You can install the latest version with pip

pip install git+https://codeberg.org/barkshark/jinja2-haml

or

pip install jinja2-haml

Basic Usage

To use this extension you just need to add it to you jinja environment and use “.haml”, “.jhaml”, or “.jaml” as an extension for your templates.

from jinja2 import Environment
from hamlish_jinja import HamlishExtension

env = Environment(extensions = [HamlishExtension])

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-0.4.0rc1.tar.gz (21.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Hamlish-0.4.0rc1-py2.py3-none-any.whl (16.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file hamlish-0.4.0rc1.tar.gz.

File metadata

  • Download URL: hamlish-0.4.0rc1.tar.gz
  • Upload date:
  • Size: 21.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for hamlish-0.4.0rc1.tar.gz
Algorithm Hash digest
SHA256 ed63891dfa2384bc1be95bb771d8dc87856360da2eaf1b7d3df5bbe5bee84217
MD5 f250517c4be8c61355cb576f8ebe8244
BLAKE2b-256 c59a8453f45866a7158ef0986bcae7af284b520ab89349edb3cf9e2474539864

See more details on using hashes here.

File details

Details for the file Hamlish-0.4.0rc1-py2.py3-none-any.whl.

File metadata

  • Download URL: Hamlish-0.4.0rc1-py2.py3-none-any.whl
  • Upload date:
  • Size: 16.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for Hamlish-0.4.0rc1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4f64151956e479e6ccf063b474a3dc0084fc4681470a4cbc310a36096cdf4281
MD5 3bf9cd5ae2721d5f1a7f398864e41a8f
BLAKE2b-256 093b9d0f8ef22e3ffc2343392ea09cd5765fbf2e57094657e5ec3fda158ac39a

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