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

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -