Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gi0baro/renoir-haml
Haml syntax for Renoir templates
https://github.com/gi0baro/renoir-haml
haml python renoir
Last synced: 8 days ago
JSON representation
Haml syntax for Renoir templates
- Host: GitHub
- URL: https://github.com/gi0baro/renoir-haml
- Owner: gi0baro
- License: other
- Created: 2019-11-24T15:39:03.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-15T22:30:58.000Z (over 4 years ago)
- Last Synced: 2024-10-06T00:20:52.834Z (about 1 month ago)
- Topics: haml, python, renoir
- Language: Python
- Size: 15.6 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Renoir-HAML
Renoir-HAML is an extension for the [Renoir engine](https://github.com/emmett-framework/renoir) providing an HAML like syntax for templates. This is not a template engine but a compiler which converts HAML files to HTML Renoir templates.
[![pip version](https://img.shields.io/pypi/v/renoir-haml.svg?style=flat)](https://pypi.python.org/pypi/Renoir-HAML)
## Installation
You can install Renoir-HAML using pip:
pip install renoir-haml
And add it to your Renoir engine:
```python
from renoir_haml import Hamlrenoir.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.