Jade template with variables (nodejs server side)
So i want to show a contacts list and for that I have transformed each contact div into jade code, but I still have to populate the relevant fields. Can I do that on the server side? I'm using nodejs for server code. The jade template of a contact is: // img-cont .img-cont // img-cont .left-img // left-img .img-box img(src='assets/img/img.jpg', alt='') .name h6 span John Doe img(src='assets/img/star-b.png', alt='') p strong Phone number: | +1 234 567890 p strong Email address: a(href='mailto:mail@company.com') mail@company.com // left-img ul.share-ul li a.edit(href='#') Edit li a.share(href='#