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/hamlish
or
pip install hamlish
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 import HamlishExtension
env = Environment(extensions = [HamlishExtension])
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hamlish-0.4.0.tar.gz.
File metadata
- Download URL: hamlish-0.4.0.tar.gz
- Upload date:
- Size: 21.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1c1b1e9f182303b7f7305b7cc2c0d767e76ba2995e6dba7d1b7f05219717b73
|
|
| MD5 |
002521b5862b42881d695b0a1bc7c56f
|
|
| BLAKE2b-256 |
22d53b7ec43371670776ed5d2224800b84f852faa79bbe8501e688357a066e09
|
File details
Details for the file Hamlish-0.4.0-py2.py3-none-any.whl.
File metadata
- Download URL: Hamlish-0.4.0-py2.py3-none-any.whl
- Upload date:
- Size: 16.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3949fa27df224123e6a97879591e30c23dced7b5ed949e9428c6150ba8e3845b
|
|
| MD5 |
2d834f19bb4688b8f20bf7733fc44f65
|
|
| BLAKE2b-256 |
2e77a6b453bdabe43f0c0274b9fc24c3c62dafbaf72385994366e41bdc95be3e
|