I'm using express.js and EJS as template engine. I don't understand how to use partials, I have seen at the examples but the author used JADE template engine, so I don't know how to apply it with EJS.
I have a simple view named: test.ejs and another .ejs file named part1.ejs
I need to show part1.ejs inside test.ejs.
I tried putting <% partial('part1', {}) %>
(into test.ejs) but nothing happen, It does not include that file.
Could someone give me an example?
Thank you!