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

java - Static nested class instance -

Python Pandas join aggregated tables -

process - Python What is the difference between a Pool of worker processes and just running multiple Processes? -