javascript - double parentecies doesn't work in jade -


this worked

.container         each item in items             li= item.name 

but not this

.container         each item in items             li {{item.name}} 

what's wrong here?

because each view engine has own syntaxe, ie: {{item.name}} work ejs , not jade. way can use in jade

.container         each item in items             li= #{item.name} 

Comments

Popular posts from this blog

matlab - error with cyclic autocorrelation function -

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

c# - What is a good .Net RefEdit control to use with ExcelDna? -