Skip to content

epegzz/pyramid_haml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HAML support for pyramid

pyramid_haml configures your pyramid project to allow the use of HAML as template markup language.

It uses PyHAML as preprocessor for the Mako template renderer.

Install

  1. Simply use pip to get the latest package:

     pip install pyramid_haml
    
  2. Adjust your "your_project/__init__.py" and add the following line somewhere to in the main() function:

     config.include("pyramid_haml")
    
  3. Whenever you use a template file with '.haml' as suffix it will be rendered via PyHAML.

  4. Because PyHAML uses the Mako rendering engine, you can configure pyramid_haml with the same options as pyramid_mako, prefixing each option with haml. instead of mako..

Documentation

You can find documentation on the PyHAML project page on github or at the HAML project website.

About

Haml support for pyramid

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages