HAML syntax for Renoir templates
Project description
Renoir-HAML
Renoir-HAML is an extension for the Renoir engine providing an HAML like syntax for templates. This is not a template engine but a compiler which converts HAML files to HTML Renoir templates.
Installation
You can install Renoir-HAML using pip:
pip install renoir-haml
And add it to your Renoir engine:
from renoir_haml import Haml
renoir.use_extension(Haml)
Configuration
param | default | description |
---|---|---|
encoding | utf8 | encoding for IO |
reload | False |
enable auto reload on file changes |
License
Renoir-HAML is released under BSD license. Check the LICENSE file for more details.
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
Renoir-HAML-1.0.0.tar.gz
(10.4 kB
view details)
Built Distribution
File details
Details for the file Renoir-HAML-1.0.0.tar.gz
.
File metadata
- Download URL: Renoir-HAML-1.0.0.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.3 CPython/3.7.5 Darwin/18.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 338a98e84fbea1c8c07a8ce9f941bf3c0a28ece003b9614b6929459185ec3ecd |
|
MD5 | a2efd9ad5ac781bd2b6f5a2c19dbf47a |
|
BLAKE2b-256 | 4e88beb32e7d7809aae9a20e1ea2148d048566aab59659f3406a1d7ac2873b16 |
File details
Details for the file Renoir_HAML-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: Renoir_HAML-1.0.0-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.3 CPython/3.7.5 Darwin/18.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dacc329bbcecb8db8605ce6109fddffaf2cfb2b1279ca74ef396aa5d00169fd2 |
|
MD5 | 0c3fc865a1c675308241eeabc0153b75 |
|
BLAKE2b-256 | d5d685921921424ff0bf6a72b8e1a33134d37e1d60d599067442de3d4d47ef59 |