node.js - Assign variable value to a block in jade -


is possible assign value of variable block? either not possible or i'm doing wrong.

example:

- var $foo = "bar"  block #{$foo}     div.a_class content 

this not possible because blocks compile-time, not runtime.


Popular posts from this blog

Php - Delimiter must not be alphanumeric or backslash -

c# - How to change the "Applies To" field under folder auditing options programatically (.NET) -

c++ - Ambiguity when using boost::assign::list_of to construct a std::vector -