I have the following json object:
var partners =[{ "name":"partnerx", "image": "imagex" }, { "name": "partnery", "image": "imagey" }]
I want to put into a ul object using jade and I tried:
ul#slides.swiper-wrapper
mixin partners(name, image)
li.swiper-slide
img(src=#{image} , alt=#{name})
This is not working.