Hacker Newsnew | past | comments | ask | show | jobs | submit | raineri's commentslogin

I forked that project and made it compile down to a Mako template (I use pylons). https://github.com/raineri/MakoHaml :)


You might want to update your readme file so everyone knows that it compiles down to Mako just at a glance.

Right now its confusing.

But if I'd known about this project a few days ago, you'd have definitely been added to my list of Muses.

Also, does your fork support the full range of Mako control structures? Looking at the nodes.py it seems that its still targeted towards a Django-templates backend.


Yeah, I quickly hacked it together, I will update the readme soon. It does support the mako control structures. You see them rendered around line 200 in nodes.py.


You forgot to change the list of self-closing tags.

I'd suggest making 'while' self closing.

How do you handle Mako defs, and namespace tags?


Here is a python script to generate the table: http://pastebin.com/UiLi61Yg


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: