how to pass an array of objects to jade template?
问题 i want to pass an array of objects from mongodb to the client... this is the object var objeto_img= { name:'name of the file', image:'image.jpg url', title:'title of the image', caption:'descripcion of the image', link:"#", }; in some profiles the are many images so the is an array of objects like this [var objeto_img= { name:'name of the file', image:'image.jpg url', title:'title of the image', caption:'descripcion of the image', link:"#", },var objeto_img= { name:'name of the file', image: