node.js - EJS Template: Using forEach + include -
I have a number of files in a folder that want to include in a template (EJS).
I try:
gt; & lt;% contains slide / item%> gt; & lt;%}); & Gt%; I will use nodes to fill the array by looking in a folder.
But I get an error:
Error: It seems that ejs do not use "items" as a variable.
There is a problem in Gitub for that problem.
Comments
Post a Comment