<%-include("partials/profile", {fullName:fullName}) %>
<% var fullName2 = fullName %> // fullName is passed from express, you define it as var here <%-include("partials/profile", {fullName2: fullName2}) %> // pass the var to ejs