mde/ejs

Q: Variables on <%- include("file.ejs") %>

ismael1222 opened this issue · 1 comments

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" }) %>

Turns out that yes i can
Closing issue...