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

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

matlab - error with cyclic autocorrelation function -

php - Using grpc in Laravel, "Class 'Grpc\ChannelCredentials' not found." -