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? -

java - How to create Table using Apache PDFBox -

mpi - Why is MPI_Bsend not returning error even when the buffer is insufficient to accommodate all the messages -