sindresorhus / gulp-template

Render/precompile Lodash templates

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can i loop over an array passed into the template object?

hamodi opened this issue · comments

I want to pass an array of names, then i want to loop over this array each time adding a line of the same code but with a different name...

You can just use JS combined with the template. There are lots of answer on this online. Try doing some Googling.