I am new to node.js -- so I am not sure if this is an issue with haml.js, or with express-partials, but in essence I was not able to successfully pass local variables into my haml partials.
So, I added the "locals" to the options directly and things worked like a charm (see npm spec showing the issue I was trying to accomplish.
I am new to node.js -- so I am not sure if this is an issue with haml.js, or with express-partials, but in essence I was not able to successfully pass local variables into my haml partials.
So, I added the "locals" to the options directly and things worked like a charm (see npm spec showing the issue I was trying to accomplish.