Q: Variables on <%- include("file.ejs") %>
ismael1222 opened this issue · 1 comments
ismael1222 commented
if i have on file.ejs something like this:
<h1> Hi! You are <%= name %> </h1>
can i somehow in index do something like this?:
<%- include("file.ejs", { name:"John" }) %>
ismael1222 commented
Turns out that yes i can
Closing issue...