Closed pSnehanshu closed 4 years ago
EJS supports includes in the form of <%- include('file.ejs', { data: 123 }) %>, whereas, if we use ejs-locals, we're forced to use the old includes syntax, <%- include file.ejs %> where we can't pass data to the partials. This needs a fix.
<%- include('file.ejs', { data: 123 }) %>
ejs-locals
<%- include file.ejs %>
https://github.com/mde/ejs/issues/540
EJS supports includes in the form of
<%- include('file.ejs', { data: 123 }) %>
, whereas, if we useejs-locals
, we're forced to use the old includes syntax,<%- include file.ejs %>
where we can't pass data to the partials. This needs a fix.https://github.com/mde/ejs/issues/540