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 -

trac - Modifying workflow to add a status and split on ticket type -

Delphi interface implements -