soywiz-archive / atpl.js

A complete and fast template engine fully compatible with twig for node.js.
55 stars 12 forks source link

add support for twig options #7

Open sirian opened 11 years ago

sirian commented 11 years ago

add support of options

autoescape strict_variables

http://twig.sensiolabs.org/doc/api.html

soywiz commented 11 years ago

Yeah, I must definetively implement it. Any suggestion from passing those options from express?

sirian commented 11 years ago

I don't use express - because it's inconvenient and has a poor architecture (i.e. method get acts as a settings getter and a route directive) - i wrote my own web-framework based on connect.js