I\'m using ejs in backend with nodejs. I\'d like to pass variable when include. When include the header, pass the page title.
index.ejs:
<% include he
You can pass the object inside the include statement
<%- include("header",{title:"your_title"}) %>